diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 21:33:09 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-05-27 21:33:09 +1200 |
commit | 1302b279bf2b1b2ae76ea8251a32e480d64f2f7a (patch) | |
tree | 979020e8b383d23a9ca8300970863530f7c637cb /sh | |
parent | Use -z rather than !-n (diff) | |
download | dotfiles-1302b279bf2b1b2ae76ea8251a32e480d64f2f7a.tar.gz dotfiles-1302b279bf2b1b2ae76ea8251a32e480d64f2f7a.zip |
Remove redundant `|| return` from gd()
It will do that implicitly anyway
Diffstat (limited to 'sh')
-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 9f6a43e7..10135d01 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" || return + cd -- "$PMD" } |