aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/gd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/gd.sh')
-rw-r--r--sh/shrc.d/gd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/shrc.d/gd.sh b/sh/shrc.d/gd.sh
index 9f6a43e7..b9af480e 100644
--- a/sh/shrc.d/gd.sh
+++ b/sh/shrc.d/gd.sh
@@ -14,5 +14,6 @@ gd() {
fi
# Go to the marked directory
- cd -- "$PMD" || return
+ # shellcheck disable=SC2164
+ cd -- "$PMD"
}