Skip to content

Instantly share code, notes, and snippets.

@mvarela
Created April 20, 2012 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mvarela/2428307 to your computer and use it in GitHub Desktop.
Save mvarela/2428307 to your computer and use it in GitHub Desktop.
case `uname` in
Linux)
HOSTTYPE="(\[\e[0;33m\]☢\[\e[0;32m\])"
;;
Darwin)
HOSTTYPE="(\[\e[0;31m\]\[\e[0;32m\])"
;;
esac
export PS1="\n\[\e[0;32m\]\u@\h$HOSTTYPE\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[1;34m\]\nλ\[\e[m\] \[\e[1;37m\]"
export PS2='\[\e[1;33m\]➞ \[\e[1;37m\]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment