diff --git a/.bashrc b/.bashrc index afd6678..374a98a 100755 --- a/.bashrc +++ b/.bashrc @@ -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"