diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 22:24:04 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-25 22:24:04 +1200 |
commit | 3165f12cd79f88efffed1346c60c4075c1c60800 (patch) | |
tree | 8972fe5c056ca3fb08ee0d8356995ad7b075cf7a /bash/bashrc.d | |
parent | Initialise OPTIND in cd() function (diff) | |
download | dotfiles-3165f12cd79f88efffed1346c60c4075c1c60800.tar.gz dotfiles-3165f12cd79f88efffed1346c60c4075c1c60800.zip |
Use single quotes for printf
Diffstat (limited to 'bash/bashrc.d')
-rw-r--r-- | bash/bashrc.d/cd.bash | 2 |
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 |