1
0
mirror of https://github.com/meineerde/dotfiles.git synced 2026-02-06 00:53:23 +00:00

Pass params to ss and sc

This commit is contained in:
Holger Just 2011-09-02 21:28:51 +02:00
parent 8b7580568d
commit 3e31af5743

View File

@ -240,8 +240,8 @@ alias goit='git'
alias be="bundle exec"
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"
ss() { if [[ -x script/server ]]; then script/server -b 127.0.0.1 $@; else rs $@; fi }
sc() { if [[ -x script/console ]]; then script/console $@; else rc $@; fi }
alias redcar="wrapped_redcar --fork"