forked from mirrors/nixpkgs
* 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"
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue