* Remove unnecessary control characters from PS1.
svn path=/nixos/trunk/; revision=8275
This commit is contained in:
parent
8851530afb
commit
4e292cb1ae
@ -8,7 +8,7 @@ export FONTCONFIG_FILE=/etc/fonts/fonts.conf
|
|||||||
PROMPT_COLOR="1;31m"
|
PROMPT_COLOR="1;31m"
|
||||||
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]$\[\033[0m\] "
|
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]$\[\033[0m\] "
|
||||||
if test "x$TERM" == "xxterm"; then
|
if test "x$TERM" == "xxterm"; then
|
||||||
PS1="\033]2;\h:\u:\w\007\033]1;$PS1"
|
PS1="\033]2;\h:\u:\w\007$PS1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "$USER" != root; then
|
if test "$USER" != root; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user