aboutsummaryrefslogtreecommitdiff
path: root/bash/bashrc.d/cd.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/bashrc.d/cd.bash')
-rw-r--r--bash/bashrc.d/cd.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/bashrc.d/cd.bash b/bash/bashrc.d/cd.bash
index 4f3d5f64..fedb19f5 100644
--- a/bash/bashrc.d/cd.bash
+++ b/bash/bashrc.d/cd.bash
@@ -11,7 +11,7 @@ cd() {
if [[ $PWD == *$1* ]]; then
builtin cd "${opts[@]}" "${PWD/$1/$2}"
else
- printf "bash: cd: could not replace substring\n" >&2
+ printf %s "bash: cd: could not replace substring\n" >&2
return 1
fi
else