mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-28 07:50:09 +08:00
added a rake plugin to disable zsh file globbing when calling rake tasks with square brackets
This commit is contained in:
parent
7a41498b0d
commit
8f1a5d3f15
6
plugins/rake/rake.plugin.zsh
Normal file
6
plugins/rake/rake.plugin.zsh
Normal file
@ -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 ...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user