diff options
author | max sharples <maxsharples@gmail.com> | 2012-01-17 13:11:01 +1100 |
---|---|---|
committer | max sharples <maxsharples@gmail.com> | 2012-01-18 13:23:28 +1100 |
commit | 8f1a5d3f1581c80510728143e146143deecaa61e (patch) | |
tree | b1987418f6a692267381d66fa4b2e7bb3b069556 /plugins/rake/rake.plugin.zsh | |
parent | 7a41498b0d4f68c537d494b5f849913361315fde (diff) | |
download | zsh-8f1a5d3f1581c80510728143e146143deecaa61e.tar.gz zsh-8f1a5d3f1581c80510728143e146143deecaa61e.tar.bz2 zsh-8f1a5d3f1581c80510728143e146143deecaa61e.zip |
added a rake plugin to disable zsh file globbing when calling rake tasks with square brackets
Diffstat (limited to 'plugins/rake/rake.plugin.zsh')
-rw-r--r-- | plugins/rake/rake.plugin.zsh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/rake/rake.plugin.zsh b/plugins/rake/rake.plugin.zsh new file mode 100644 index 000000000..16b933c14 --- /dev/null +++ b/plugins/rake/rake.plugin.zsh @@ -0,0 +1,6 @@ +alias rake="noglob rake" # allows square brackts for rake task invocation +alias brake='noglob bundle exec rake' # execute the bundled rake gem +alias srake='noglob sudo rake' # noglob must come before sudo +alias sbrake='noglob sudo bundle exec rake' # altogether now ... + + |