Skip to content

Instantly share code, notes, and snippets.

@wvdschel
Created October 16, 2012 19:43
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 wvdschel/3901511 to your computer and use it in GitHub Desktop.
Save wvdschel/3901511 to your computer and use it in GitHub Desktop.
PS1 etc
export PATH=~/Apps/bin:~/bin:$PATH:
export PS1='$(if [[ $? == 0 ]]; then echo -e "\[\033[0;32m\]\xE2\x9C\x94"; else echo -e "\[\033[0;31m\]\xE2\x9C\x95"; fi )\[\033[0m\] $(date +%R) \[\033[1;34m\]$(date +"%g%V.%u")\[\033[0;31m\] \w\[\033[0m\]\$ '"\033]0;$WINDOWTITLE\007"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment