Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if [ "$(uname -s)" != "Linux" ] && [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
source ~/.profile
PATH=/usr/local/sbin:$PATH
function __smile() { if [ $? -ne 0 ]; then echo ":("; else echo ":)"; fi }
GIT_PS1_SHOWDIRTYSTATE=true
PS1="\n\$(__smile)\[\e[1m\]\w\[\e[0m\]\$(__git_ps1)\n\$ "
export CLICOLOR=1
export LANG=en_US
export HISTFILESIZE=
export HISTSIZE=
export HISTCONTROL=ignoreboth
alias ..='cd ..'
alias cd~='cd ~'
alias cd..='cd ..'
alias gs='git status'
alias ...='cd ../..'
alias cd...='cd ../..'
alias cd-='cd -'
alias tac='tail -r'
--() { cd -; }
alias grep='grep --color'
alias mv='mv -i'
alias cp='cp -i'
#alias rm='rm -i'
alias l.='ls -d .*'
alias ll='ls -l'
export GOPATH=$HOME/.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment