aliases 780 B

12345678910111213141516171819202122232425262728293031323334
  1. # cd
  2. alias ..='cd ..'
  3. # ls
  4. alias ls="ls -F"
  5. alias l="ls -lAh"
  6. alias ll="ls -l"
  7. alias la='ls -A'
  8. # git
  9. alias gl='git pull'
  10. alias gp='git push'
  11. alias gd='git diff'
  12. alias gc='git commit'
  13. alias gca='git commit -a'
  14. alias gco='git checkout'
  15. alias gb='git branch'
  16. alias gs='git status'
  17. alias grm="git status | grep deleted | awk '{print \$3}' | xargs git rm"
  18. alias changelog='git log `git log -1 --format=%H -- CHANGELOG*`..; cat CHANGELOG*'
  19. # rails
  20. alias sc='script/console'
  21. alias ss='script/server'
  22. alias sg='script/generate'
  23. alias a='autotest -rails'
  24. alias tlog='tail -f log/development.log'
  25. alias scaffold='script/generate nifty_scaffold'
  26. alias migrate='rake db:migrate db:test:clone'
  27. alias rst='touch tmp/restart.txt'
  28. # commands starting with % for pasting from web
  29. alias %=' '