summaryrefslogtreecommitdiff
path: root/plugins/rails.plugin.zsh
diff options
context:
space:
mode:
authorRobby Russell <robby@planetargon.com>2010-06-03 12:55:07 -0700
committerRobby Russell <robby@planetargon.com>2010-06-03 12:55:07 -0700
commit89bd2bf317fe458c6a6154824823670dd2d32660 (patch)
tree3b6caa59af6f9cbe201095ed5a573ab37827c96f /plugins/rails.plugin.zsh
parent455669e97606bb512b9f69fc1ed9b8fea5105a33 (diff)
downloadzsh-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.zsh4
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 )"
+}