Browse Source

added a rake plugin to disable zsh file globbing when calling rake tasks with square brackets

max sharples 12 years ago
parent
commit
8f1a5d3f15
1 changed files with 6 additions and 0 deletions
  1. 6 0
      plugins/rake/rake.plugin.zsh

+ 6 - 0
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 ... 
+
+