diff options
-rw-r--r-- | bash/bashrc.d/scr.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/scr.bash b/bash/bashrc.d/scr.bash index ff82b10a..d7248dbc 100644 --- a/bash/bashrc.d/scr.bash +++ b/bash/bashrc.d/scr.bash @@ -3,7 +3,7 @@ # argument is the string to use for naming the directory; defaults to "scr". scr() { if (($# <= 1)) ; then - pushd -- "$(mktemp -dt "${1:-scr}".XXXXX)" + pushd -- "$(mktemp -dt -- "${1:-scr}".XXXXX)" else printf 'bash: %s: too many arguments\n' \ "$FUNCNAME" >&2 |