3
0
Fork 0
forked from mirrors/nixpkgs

* Remove unnecessary control characters from PS1.

svn path=/nixos/trunk/; revision=8275
This commit is contained in:
Eelco Dolstra 2007-03-13 11:27:15 +00:00
parent 8851530afb
commit 4e292cb1ae

View file

@ -8,7 +8,7 @@ export FONTCONFIG_FILE=/etc/fonts/fonts.conf
PROMPT_COLOR="1;31m"
PS1="\n\[\033[$PROMPT_COLOR\][\u@\h:\w]$\[\033[0m\] "
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
if test "$USER" != root; then