diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-31 08:56:17 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-31 08:56:17 +1300 |
commit | 6490ceb324c450ee5d597672aa42afd7f85836af (patch) | |
tree | 9a089064642ea2592a38f836e03bdeea40f865ae /bash/bashrc.d/cd.bash | |
parent | Explain GnuPG configuration tweaks (diff) | |
download | dotfiles-6490ceb324c450ee5d597672aa42afd7f85836af.tar.gz dotfiles-6490ceb324c450ee5d597672aa42afd7f85836af.zip |
Fix newline error in cd error print
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 6d7e2573..45537aeb 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\n' 'bash: cd: could not replace substring' >&2 return 1 fi else |