Skip to content

Instantly share code, notes, and snippets.

@smaspe
smaspe / .profile
Created October 28, 2013 18:48 — forked from anonymous/.profile
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'