Created
October 16, 2012 19:43
-
-
Save wvdschel/3901511 to your computer and use it in GitHub Desktop.
PS1 etc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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