Loading .profile +28 −30 Original line number Diff line number Diff line Loading @@ -82,17 +82,9 @@ export CLICOLOR=yes tput init # Set title # (not suported by linux VT) if [ "x$TERM" != xlinux ]; then hostname=`hostname -f` SET_TITLE=`printf '\e]2;%s\007' "$hostname"` PROMPTCODES="$SET_TITLE" echo "$SET_TITLE" unset hostname fi # VT colours case "$TERM" in linux) # Set default colours on linux VT tput initc $COLOUR_BLACK 0 0 0 tput initc $COLOUR_WHITE 933 933 933 tput initc $COLOUR_GRAY 827 843 812 Loading @@ -109,12 +101,18 @@ tput initc $COLOUR_MAGENTA 459 314 482 tput initc $COLOUR_BRIGHT_MAGENTA 678 498 659 tput initc $COLOUR_CYAN 24 596 604 tput initc $COLOUR_BRIGHT_CYAN 204 886 886 # Set default colours on linux console case "$TERM" in linux) tput setaf $COLOUR_GREEN tput setab $COLOUR_BLACK printf '\e[8]' unicode_start ;; *) # Set title # (not suported by linux VT) hostname=`hostname -f` SET_TITLE=`printf '\e]2;%s\007' "$hostname"` PROMPTCODES="$SET_TITLE" echo "$SET_TITLE" unset hostname ;; esac Loading
.profile +28 −30 Original line number Diff line number Diff line Loading @@ -82,17 +82,9 @@ export CLICOLOR=yes tput init # Set title # (not suported by linux VT) if [ "x$TERM" != xlinux ]; then hostname=`hostname -f` SET_TITLE=`printf '\e]2;%s\007' "$hostname"` PROMPTCODES="$SET_TITLE" echo "$SET_TITLE" unset hostname fi # VT colours case "$TERM" in linux) # Set default colours on linux VT tput initc $COLOUR_BLACK 0 0 0 tput initc $COLOUR_WHITE 933 933 933 tput initc $COLOUR_GRAY 827 843 812 Loading @@ -109,12 +101,18 @@ tput initc $COLOUR_MAGENTA 459 314 482 tput initc $COLOUR_BRIGHT_MAGENTA 678 498 659 tput initc $COLOUR_CYAN 24 596 604 tput initc $COLOUR_BRIGHT_CYAN 204 886 886 # Set default colours on linux console case "$TERM" in linux) tput setaf $COLOUR_GREEN tput setab $COLOUR_BLACK printf '\e[8]' unicode_start ;; *) # Set title # (not suported by linux VT) hostname=`hostname -f` SET_TITLE=`printf '\e]2;%s\007' "$hostname"` PROMPTCODES="$SET_TITLE" echo "$SET_TITLE" unset hostname ;; esac