diff options
Diffstat (limited to 'zsh/oh-my-zsh/plugins/paver/paver.plugin.zsh')
-rw-r--r-- | zsh/oh-my-zsh/plugins/paver/paver.plugin.zsh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/zsh/oh-my-zsh/plugins/paver/paver.plugin.zsh b/zsh/oh-my-zsh/plugins/paver/paver.plugin.zsh deleted file mode 100644 index 7e70ea3..0000000 --- a/zsh/oh-my-zsh/plugins/paver/paver.plugin.zsh +++ /dev/null @@ -1,16 +0,0 @@ -_paver_does_target_list_need_generating () { - [ ! -f .paver_targets ] && return 0 - [ pavement.py -nt .paver_targets ] && return 0 - return 1 -} - -_paver () { - if [ -f pavement.py ]; then - if _paver_does_target_list_need_generating; then - paver --help 2>&1 |grep '-'|grep -v -e '--'|awk -F '-' '{print $1}'|tr -d ' ' > .paver_targets - fi - compadd `cat .paver_targets` - fi -} - -compdef _paver paver |