From 623151a60fc34c4e896e7ce764e5ce55915f92d8 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 17 Feb 2012 15:50:40 -0600 Subject: escape prompt colors properly for readline --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bashrc') diff --git a/bashrc b/bashrc index b11e20d..6a1e684 100644 --- a/bashrc +++ b/bashrc @@ -205,7 +205,7 @@ else export PROMPT_COMMAND="${PROMPT_COMMAND};history -a" fi # prompt {{{ -export PROMPT_COMMAND="__err=\$?;$PROMPT_COMMAND;PS1=\"\$(fancy-prompt "\$__err")\"" +export PROMPT_COMMAND="__err=\$?;$PROMPT_COMMAND;PS1=\"\$(fancy-prompt --prompt-escape "\$__err")\"" # }}} # set the correct perl {{{ if type -a perlbrew > /dev/null 2>&1; then -- cgit v1.2.3-54-g00ecf