Browse files

added a rake plugin to disable zsh file globbing when calling rake ta…

…sks with square brackets
  • Loading branch information...
1 parent 7a41498 commit 8f1a5d3f1581c80510728143e146143deecaa61e @msharp msharp committed Jan 17, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 plugins/rake/rake.plugin.zsh
View
6 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 ...
+
+

0 comments on commit 8f1a5d3

Please sign in to comment.