Commit 18b959e3 authored by Simon May's avatar Simon May
Browse files

Add color prompt (PS1)

parent fc72dc1f
......@@ -25,3 +25,12 @@ case $- in
*) return;;
# set PS1
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
if [ "$color_prompt" = yes ]; then
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