aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/pd.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/pd.sh')
-rw-r--r--sh/shrc.d/pd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/shrc.d/pd.sh b/sh/shrc.d/pd.sh
index e3a6daaa..d5257ba5 100644
--- a/sh/shrc.d/pd.sh
+++ b/sh/shrc.d/pd.sh
@@ -27,5 +27,6 @@ pd() {
set -- "${1%/*}"
# Try to change into the determined directory, or root if empty
- command cd -- "${1:-/}"
+ # shellcheck disable=SC2164
+ cd -- "${1:-/}"
}