]> code.delx.au - dotfiles/commitdiff
Fixed bash colors
authorJames Bunton <jamesbunton@delx.net.au>
Thu, 4 Oct 2007 05:29:06 +0000 (15:29 +1000)
committerJames Bunton <jamesbunton@delx.net.au>
Thu, 4 Oct 2007 05:29:06 +0000 (15:29 +1000)
.bash/colors
.bash/interactive

index a63062bc0457e4fae8eedf8855e0c806c9fb2865..81fcf2418989a3dc7dbab766991c4be9d39b9487 100644 (file)
@@ -80,7 +80,7 @@ if [ ${PS1_COLOR:-0} -eq 1 ]; then
        fi
 
        export LS_COLORS
-       unset PS1_COLOR
-       unset DARK
 fi
+unset PS1_COLOR
+unset DARK
 
index 3ccb4eb369e894b8ca84de00ff23263bf65aef2e..74a4c3cf82a5ba41a0e66e402286dfcd0347fb55 100644 (file)
@@ -17,7 +17,7 @@ xterm*|rxvt*)
        unset HOSTNAME
        ;;
 screen*)
-       PS1="\033k\033\\\\${PS1}"
+       PS1="\[\033k\033\\\\\]${PS1}"
        ;;
 *)
        ;;