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