diff options
author | Spencer Rinehart <anubis@overthemonkey.com> | 2013-03-12 13:15:05 -0400 |
---|---|---|
committer | Spencer Rinehart <anubis@overthemonkey.com> | 2013-03-12 13:23:34 -0400 |
commit | bdf4f5a347789069dda438e64467344b551fff00 (patch) | |
tree | d2a462fe547f09d386cba691c5e15adc14a41667 /plugins | |
parent | 300f94cb0e1121e7796edbedcbc6d686e755be5b (diff) | |
download | zsh-bdf4f5a347789069dda438e64467344b551fff00.tar.gz zsh-bdf4f5a347789069dda438e64467344b551fff00.tar.bz2 zsh-bdf4f5a347789069dda438e64467344b551fff00.zip |
Allow ":" and "-" characters in phing tasks.
Tasks that included hyphens or colons were being excluded from
completion. This improves the usage for this.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/phing/phing.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/phing/phing.plugin.zsh b/plugins/phing/phing.plugin.zsh index 1abf0a954..795f1db85 100644 --- a/plugins/phing/phing.plugin.zsh +++ b/plugins/phing/phing.plugin.zsh @@ -7,7 +7,7 @@ _phing_does_target_list_need_generating () { _phing () { if [ -f build.xml ]; then if _phing_does_target_list_need_generating; then - phing -l |grep -v ":" |grep -v "^$"|grep -v "\-" > .phing_targets + phing -l |grep -v ":$" |grep -v "^-*$" > .phing_targets fi compadd `cat .phing_targets` fi |