Commit 896b75f2 authored by Simon May's avatar Simon May
Browse files

Enable color prompt in screen

parent 2fe1f6bc
...@@ -39,7 +39,7 @@ HISTTIMEFORMAT='%F %T ' ...@@ -39,7 +39,7 @@ HISTTIMEFORMAT='%F %T '
# set PS1 # set PS1
case "$TERM" in case "$TERM" in
xterm-color|*-256color) color_prompt=yes;; xterm-color|*-256color|screen) color_prompt=yes;;
esac esac
if [ "$color_prompt" = yes ]; then if [ "$color_prompt" = yes ]; then
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment