]> gitweb.pimeys.fr Git - config-20-100.git/commitdiff
[.bashrc] Correction du \$ aussi en mode color_prompt=no
authorVincent Le Gallic <legallic@crans.org>
Fri, 15 Nov 2013 12:14:53 +0000 (13:14 +0100)
committerVincent Le Gallic <legallic@crans.org>
Fri, 15 Nov 2013 12:14:53 +0000 (13:14 +0100)
cf 3a3a3a4e3009bfbe6268dc61ac99a4d0837d0db9

.bashrc

diff --git a/.bashrc b/.bashrc
index c458a2f6f58b5a290e1eb8f0225dd2c54b6ef368..9574b7946652e2cf2f9daca7c7dc7cecace153ec 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -230,7 +230,7 @@ function prompt_command
         DIR="< "$DIR" >"
         ERR='[ $? ]'$MINUS_CHAR
         DATE="( \D{%H:%M:%S} )"
-        PROMPT="\u@\h \$ "
+        PROMPT="\u@\h \\\$ "
         PS1=$TITLE$MINUS_CHAR$DATE$MINUS_CHAR$DIR$MINUS_CHAR$VCS_info$POST_DIR$ERR'\n'$PROMPT
     fi
 }