I use these bash aliases added in ~/.bashrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# rails aliases | |
# git clone git://gist.github.com/2293040.git | |
# echo 'source "$HOME/2293040/rails_aliases.sh"' >> $HOME/.bashrc | |
# gem remove alias | |
function gem() { | |
case $* in | |
remove* ) shift 1; command gem uninstall "$@" ;; | |
* ) command gem "$@" ;; | |
esac | |
} | |
alias c='rails c' | |
alias s='rails s' | |
alias g='rails g' | |
alias migrate='rake db:migrate' | |
alias routes='rake routes' | |
# git aliases | |
alias push='git push' | |
alias pull='git pull' | |
alias giff="git diff" | |
alias co="git commit" | |
alias com="git commit -a -m" | |
#debian aliases | |
alias dist-upgrade="sudo apt-get dist-upgrade" | |
alias update="sudo apt-get update" | |
alias upgrade="update & dist-upgrade" |
No comments:
Post a Comment