aboutsummaryrefslogtreecommitdiff
path: root/sh/shrc.d/scr.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sh/shrc.d/scr.sh')
-rw-r--r--sh/shrc.d/scr.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sh/shrc.d/scr.sh b/sh/shrc.d/scr.sh
index 9af8dd74..14a58ad1 100644
--- a/sh/shrc.d/scr.sh
+++ b/sh/shrc.d/scr.sh
@@ -2,5 +2,6 @@
# files into $HOME, and making the system do cleanup for me. Single optional
# argument is the string to use for naming the directory; defaults to "scr".
scr() {
- cd -- "$(mktd "${1:-scr}")" || return
+ # shellcheck disable=SC2164
+ cd -- "$(mktd "${1:-scr}")"
}