From d1c58ff23718ed279c47791ab3b0e935a4331096 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sun, 18 Aug 2013 01:53:24 +1200 Subject: Use double-quoted printf strings for newlines Just for clarity/syntax highlighting --- bash/bashrc.d/cd.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash/bashrc.d/cd.bash') 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 -- cgit v1.2.3