diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2024-07-06 18:09:04 +0800 |
| commit | 18666e3475d3a4180d9becc03cb105fcaa6c6801 (patch) | |
| tree | e80c0968dc91258afdbe5337c1478efd2f43a006 /dot-oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh | |
| parent | bb533a817ed9449942905e0c5c8164f4474fbf0c (diff) | |
added submodule
Diffstat (limited to 'dot-oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh')
| m--------- | dot-oh-my-zsh | 0 | ||||
| -rw-r--r-- | dot-oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh | 14 |
2 files changed, 0 insertions, 14 deletions
diff --git a/dot-oh-my-zsh b/dot-oh-my-zsh new file mode 160000 +Subproject 6fe84bf5c82da7b1f6d7c5ec3e5c447721ac8ce diff --git a/dot-oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh b/dot-oh-my-zsh/plugins/jake-node/jake-node.plugin.zsh deleted file mode 100644 index c2dad28a..00000000 --- a/dot-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 |
