From: Vincent Le Gallic Date: Fri, 15 Nov 2013 12:14:53 +0000 (+0100) Subject: [.bashrc] Correction du \$ aussi en mode color_prompt=no X-Git-Url: http://gitweb.pimeys.fr/?a=commitdiff_plain;h=77fba311f4475c96fc47a38f02fa35a245a0c80c;p=config-20-100.git [.bashrc] Correction du \$ aussi en mode color_prompt=no cf 3a3a3a4e3009bfbe6268dc61ac99a4d0837d0db9 --- diff --git a/.bashrc b/.bashrc index c458a2f..9574b79 100644 --- 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 }