diff options
author | Robby Russell <robby@planetargon.com> | 2010-06-03 12:55:07 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2010-06-03 12:55:07 -0700 |
commit | 89bd2bf317fe458c6a6154824823670dd2d32660 (patch) | |
tree | 3b6caa59af6f9cbe201095ed5a573ab37827c96f /plugins/rails.plugin.zsh | |
parent | 455669e97606bb512b9f69fc1ed9b8fea5105a33 (diff) | |
download | zsh-89bd2bf317fe458c6a6154824823670dd2d32660.tar.gz zsh-89bd2bf317fe458c6a6154824823670dd2d32660.tar.bz2 zsh-89bd2bf317fe458c6a6154824823670dd2d32660.zip |
Moving some rails and osx-specific functions to their corresponding plugin files
Diffstat (limited to 'plugins/rails.plugin.zsh')
-rw-r--r-- | plugins/rails.plugin.zsh | 4 |
1 files changed, 4 insertions, 0 deletions
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 )" +} |