aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-27 21:33:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-27 21:33:09 +1200
commit1302b279bf2b1b2ae76ea8251a32e480d64f2f7a (patch)
tree979020e8b383d23a9ca8300970863530f7c637cb /sh
parent5db5287e727a2c73278bd33b9728a3cef1a741eb (diff)
downloaddotfiles-1302b279bf2b1b2ae76ea8251a32e480d64f2f7a.tar.gz
Remove redundant `|| return` from gd()
It will do that implicitly anyway
Diffstat (limited to 'sh')
-rw-r--r--sh/shrc.d/gd.sh2
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"
}