aboutsummaryrefslogtreecommitdiffstats
path: root/.bash_prompt
diff options
context:
space:
mode:
authorApril Arcus <april.arcus@gmail.com>2014-06-22 22:30:42 -0700
committerMathias Bynens <mathias@qiwi.be>2014-06-23 19:22:39 +0200
commitfbb2c3f21cbb066cd5f43fbe728eaa5cd3cb8699 (patch)
treef0050a6b1ee936a7fcaa90397c400cc3681458e9 /.bash_prompt
parentceb19ea9a4f5afdbe2108ad53bf5d9ee6ed44ee7 (diff)
downloaddotfiles-fbb2c3f21cbb066cd5f43fbe728eaa5cd3cb8699.tar.gz
dotfiles-fbb2c3f21cbb066cd5f43fbe728eaa5cd3cb8699.tar.bz2
dotfiles-fbb2c3f21cbb066cd5f43fbe728eaa5cd3cb8699.zip
.bash_prompt: Interpret escape sequences correctly in all cases
Closes #407.
Diffstat (limited to '.bash_prompt')
-rw-r--r--.bash_prompt2
1 files changed, 1 insertions, 1 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 788296f..13a026f 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -53,7 +53,7 @@ prompt_git() {
[ -n "${s}" ] && s=" [${s}]";
- echo "${1}${branchName}${blue}${s}";
+ echo -e "${1}${branchName}${blue}${s}";
else
return;
fi;