diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 22:53:36 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 22:53:36 +1200 |
commit | ee2a3a4d87665fb8b79363b1f78250908ec78b94 (patch) | |
tree | 6c72e1ea9517c22b1cd21c84de60becd385b1297 /sh/shrc.d | |
parent | More error-resistant sd() (diff) | |
download | dotfiles-ee2a3a4d87665fb8b79363b1f78250908ec78b94.tar.gz dotfiles-ee2a3a4d87665fb8b79363b1f78250908ec78b94.zip |
Revert "Remove redundant `|| return` from gd()"
This reverts commit 1302b279bf2b1b2ae76ea8251a32e480d64f2f7a.
This was added because of Shellcheck being fussy
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/gd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/shrc.d/gd.sh b/sh/shrc.d/gd.sh index 10135d01..9f6a43e7 100644 --- a/sh/shrc.d/gd.sh +++ b/sh/shrc.d/gd.sh @@ -14,5 +14,5 @@ gd() { fi # Go to the marked directory - cd -- "$PMD" + cd -- "$PMD" || return } |