aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 20:35:12 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 20:38:17 +1200
commit0cb651e639d3e8af18864107aab1210be89a6056 (patch)
treefd67589ced030b4fe2037fea894eab70ed8a9be4 /sh/shrc.d
parentExplicitly return from failed `cd` call in scr() (diff)
downloaddotfiles-0cb651e639d3e8af18864107aab1210be89a6056.tar.gz
dotfiles-0cb651e639d3e8af18864107aab1210be89a6056.zip
Swap `builtin` for POSIX `command` in mkcd()
Diffstat (limited to 'sh/shrc.d')
-rw-r--r--sh/shrc.d/mkcd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/mkcd.sh b/sh/shrc.d/mkcd.sh
index 6342d4a6..c59a8c54 100644
--- a/sh/shrc.d/mkcd.sh
+++ b/sh/shrc.d/mkcd.sh
@@ -1,4 +1,4 @@
# Create a directory and change into it
mkcd() {
- mkdir -p -- "$1" && builtin cd -- "$1"
+ mkdir -p -- "$1" && command cd -- "$1"
}