diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-18 01:53:24 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-08-18 01:53:24 +1200 |
commit | d1c58ff23718ed279c47791ab3b0e935a4331096 (patch) | |
tree | 3586a87bec8d34df052e7f99ee4370d26352a35b /bash/bashrc.d/cd.bash | |
parent | Direct cd errors to stderr (diff) | |
download | dotfiles-d1c58ff23718ed279c47791ab3b0e935a4331096.tar.gz dotfiles-d1c58ff23718ed279c47791ab3b0e935a4331096.zip |
Use double-quoted printf strings for newlines
Just for clarity/syntax highlighting
Diffstat (limited to 'bash/bashrc.d/cd.bash')
-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 ebeea600..1813a9da 100644 --- a/bash/bashrc.d/cd.bash +++ b/bash/bashrc.d/cd.bash @@ -10,7 +10,7 @@ __cd() { if [[ "$PWD" == *"$1"* ]]; then builtin cd "${opts[@]}" "${PWD/$1/$2}" else - printf 'bash: cd: could not replace substring\n' >&2 + printf "bash: cd: could not replace substring\n" >&2 return 1 fi else |