diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:35:12 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 20:38:17 +1200 |
commit | 0cb651e639d3e8af18864107aab1210be89a6056 (patch) | |
tree | fd67589ced030b4fe2037fea894eab70ed8a9be4 /sh/shrc.d | |
parent | Explicitly return from failed `cd` call in scr() (diff) | |
download | dotfiles-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.sh | 2 |
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" } |