From 89bd2bf317fe458c6a6154824823670dd2d32660 Mon Sep 17 00:00:00 2001 From: Robby Russell Date: Thu, 3 Jun 2010 12:55:07 -0700 Subject: Moving some rails and osx-specific functions to their corresponding plugin files --- plugins/rails.plugin.zsh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/rails.plugin.zsh') diff --git a/plugins/rails.plugin.zsh b/plugins/rails.plugin.zsh index b7f62a0c6..45bebb722 100644 --- a/plugins/rails.plugin.zsh +++ b/plugins/rails.plugin.zsh @@ -30,3 +30,7 @@ function _cap () { } compctl -K _cap cap + +function remote_console() { + /usr/bin/env ssh $1 "( cd $2 && ruby script/console production )" +} -- cgit v1.2.3-70-g09d2