X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fjake-node%2Fjake-node.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fjake-node%2Fjake-node.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=c2dad28af556de5ef21c010ef06144cc731423d5;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh deleted file mode 100644 index c2dad28..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh +++ /dev/null @@ -1,14 +0,0 @@ -#---oh-my-zsh plugin : task Autocomplete for Jake tool--- -# Jake : https://github.com/mde/jake -# Warning : Jakefile should have the right case : Jakefile or jakefile -# Tested on : MacOSX 10.7 (Lion), Ubuntu 11.10 -# Author : Alexandre Lacheze (@al3xstrat) -# Inspiration : https://weblog.rubyonrails.org/2006/3/9/fast-rake-task-completion-for-zsh - -function _jake () { - if [ -f Jakefile ] || [ -f jakefile ] || [ -f Jakefile.js ] || [ -f jakefile.js ]; then - compadd `jake -T | cut -d " " -f 2 | sed -E "s/.\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g"` - fi -} - -compdef _jake jake