1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2025-10-17 19:41:01 +00:00

Use ss/sc for Rails 2.x and 3.x

This commit is contained in:
Holger Just 2011-08-05 10:31:01 +02:00
parent 9617cb601b
commit d05244d4a8

View File

@ -237,12 +237,13 @@ alias ciam='git ci -am'
alias got='git'
alias goit='git'
alias ss="script/server -b 127.0.0.1"
alias sc="script/console"
alias rs="rails server -b 127.0.0.1"
alias rc="rails console"
alias ss="if [[ -x script/server ]]; then script/server -b 127.0.0.1; else rs; fi"
alias sc="if [[ -x script/console ]]; then script/console; else rc; fi"
alias redcar="wrapped_redcar --fork"
# if cat is called on a directory, call ls instead