aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2013-08-25 22:24:04 +1200
committerTom Ryder <tom@sanctum.geek.nz>2013-08-25 22:24:04 +1200
commit3165f12cd79f88efffed1346c60c4075c1c60800 (patch)
tree8972fe5c056ca3fb08ee0d8356995ad7b075cf7a /bash
parentInitialise OPTIND in cd() function (diff)
downloaddotfiles-3165f12cd79f88efffed1346c60c4075c1c60800.tar.gz
dotfiles-3165f12cd79f88efffed1346c60c4075c1c60800.zip
Use single quotes for printf
Diffstat (limited to '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 62f1a905..edc5c6f1 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 %s "bash: cd: could not replace substring\n" >&2
+ printf %s 'bash: cd: could not replace substring\n' >&2
return 1
fi
else