Skip to content

Instantly share code, notes, and snippets.

@shiftb
Created April 1, 2010 00:37
Show Gist options
  • Save shiftb/351148 to your computer and use it in GitHub Desktop.
Save shiftb/351148 to your computer and use it in GitHub Desktop.
My default aliases
# In ~/.bash_aliases
## Git
alias g='git'
alias gcb='git checkout -b'
alias gpp="git pull && git push && git push --tags"
## Shell
alias ll='ls -lh'
alias reload='. ~/.bash_login'
alias tf='tail -f -n 100'
alias la='ls -A'
alias l='ls -CF'
alias tree='find . -print | grep -v '\''.git'\'' | sed -e '\''s;[^/]*/;|____;g;s;____|; |;g'\'''
## Ruby
alias grind='gem install --no-rdoc --no-ri'
# Put this in ~/.bash_login
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment