added escapes around the escapes in PS1
This commit is contained in:
parent
f459c86106
commit
739e31a339
1 changed files with 2 additions and 1 deletions
3
bashrc
3
bashrc
|
|
@ -39,4 +39,5 @@ function cdtemp()
|
|||
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# export PS1="\e[0m\u@\h:\w\a\$ "
|
||||
export PS1="\e[0m\e[01;32m\u\e[0m@\e[01;35m\h\e[0m:\e[01;34m\w\a\\e[0m$ "
|
||||
# export PS1="\e[0m\e[01;32m\u\e[0m@\e[01;35m\h\e[0m:\e[01;34m\w\a\\e[0m$ "
|
||||
export PS1="\[\e[0m\e[01;32m\]\u\[\e[0m\]@\[\e[01;35m\]\h\[\e[0m\]:\[\e[01;34m\]\w\a\\[\e[0m\]$ "
|
||||
|
|
|
|||
Loading…
Reference in a new issue