aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/gd.sh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-01-02 16:59:07 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-01-02 17:10:10 +1300
commit51f0d9737c31e9d905748e0f1a4d9a47508ec810 (patch)
treef05624b71b604be3fa94b36b54af622ab5136a7e /sh/shrc.d/gd.sh
parent8904477c83d589db3e928a6c5a34d542b362de0b (diff)
downloaddotfiles-51f0d9737c31e9d905748e0f1a4d9a47508ec810.tar.gz
dotfiles-51f0d9737c31e9d905748e0f1a4d9a47508ec810.zip
Soothe shellcheck about new marked dirs funcs
Diffstat (limited to 'sh/shrc.d/gd.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 754bd8ff..5a3f54b0 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
}