Commit 3a3a3a4e authored by Vincent Le gallic's avatar Vincent Le gallic

[.bashrc] prompt # en root

\$ était entre double-quotes, donc tout de suite interprété en $
parent e8c95929
......@@ -224,7 +224,7 @@ function prompt_command
# il faut changer $((31+($?==0)*6)) si vous y tenez vraiment et que vous comprenez ce que vous faites
ERR='[ \[\e[1;$((31+($?==0)*6))m\]$?'${line_color_prompt}' ]'$MINUS_CHAR
DATE="( ${date_color}\D{%H:%M:%S}${line_color_prompt} )"
PROMPT="${username_color}\u${symbols_color}@${host_color}\h ${symbols_color}\$ ${nocolor_prompt}"
PROMPT="${username_color}\u${symbols_color}@${host_color}\h ${symbols_color}\\\$ ${nocolor_prompt}"
PS1=$TITLE${line_color_prompt}$MINUS_CHAR$DATE$MINUS_CHAR$DIR$MINUS_CHAR$VCS_info${line_color_prompt}$POST_DIR$ERR'\n'$PROMPT
else
DIR="< "$DIR" >"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment