From 3e31af574308dc0c19ff28d8177bf66fc9dc9a30 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Fri, 2 Sep 2011 21:28:51 +0200 Subject: [PATCH] Pass params to ss and sc --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"