Skip to content

Instantly share code, notes, and snippets.

@smaspe
Forked from anonymous/.profile
Created October 28, 2013 18:48
Show Gist options
  • Save smaspe/7202406 to your computer and use it in GitHub Desktop.
Save smaspe/7202406 to your computer and use it in GitHub Desktop.
source ~/git-completion.bash
source ~/git-prompt.sh
export RES='$(if [[ $? = 0 ]]; then echo -e "\e[0;32m\xe2\x9c\x94\e[m"; else echo -e "\e[0;31m\xe2\x9c\x98\e[m"; fi;)'
export PS1="$RES \e[1;36m\t\e[m\e[0;33m(\u)\e[m\e[40m\e[37m\w\e[m\e[1;35m\$(__git_ps1)\e[m\n\$ "
alias l='ls'
alias ll='ls -l'
alias less='less -N'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment