#function parse_git_branch { # git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' #} #export PS1='\u@\h:\W $(parse_git_branch)\n\$ ' export EDITOR='vi' export WORKON_HOME=$HOME/.virtualenvs export LC_CTYPE="en_US.UTF-8" export LANG="en_US" alias tmux='tmux -u' alias t='tmux.py' alias reKill='reKill.py' alias pysmtp='python -m smtpd -n -c DebuggingServer localhost:1025' alias resetterminal='echo -n -e "\033]0;\007"' alias gitpretty="git log --pretty=format:'%h : %Cblue%aN%Creset : %Cred%d%Creset : %s' --graph" alias ls='ls -G' alias ll='ls -lG' if [[ -r $HOME/.`hostname -s`_bash_profile ]]; then source $HOME/.`hostname -s`_bash_profile else echo "WARNING: Can't find custom bash_profile" fi