Escape $ and #
This commit is contained in:
parent
93ed666005
commit
5f5ff781c2
1 changed files with 2 additions and 2 deletions
|
@ -101,9 +101,9 @@ if [ "$BASH" ]; then
|
||||||
bind '"\e[B": history-search-forward'
|
bind '"\e[B": history-search-forward'
|
||||||
|
|
||||||
if test $(id -u) -eq 0; then
|
if test $(id -u) -eq 0; then
|
||||||
export PS1="\[\033[01;32m\]\h\[\033[01;31m\]#\[\033[00m\] "
|
export PS1="\[\033[01;32m\]\h\[\033[01;31m\]\#\[\033[00m\] "
|
||||||
else
|
else
|
||||||
export PS1="\[\033[01;32m\]\h\[\033[01;34m\]$\[\033[00m\] "
|
export PS1="\[\033[01;32m\]\h\[\033[01;34m\]\$\[\033[00m\] "
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue