diff options
author | Marko Myllynen <myllynen@redhat.com> | 2016-09-14 10:21:19 +0300 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2016-09-14 07:58:43 +0000 |
commit | be4c072cf50ffcc2e2c34e4edbb0e2a78900206b (patch) | |
tree | ca56303e4e73f66d8626ec6fd2f3878a2280ff28 | |
parent | 420cde915804d790277e34295127cef3cd9b3894 (diff) | |
download | zsh-be4c072cf50ffcc2e2c34e4edbb0e2a78900206b.tar.gz zsh-be4c072cf50ffcc2e2c34e4edbb0e2a78900206b.tar.xz zsh-be4c072cf50ffcc2e2c34e4edbb0e2a78900206b.zip |
unposted: _libvirt: Add another noglob. (Follow-up to 39199)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_libvirt | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 1b121be13..0c0b72272 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2016-09-14 Marko Myllynen <myllynen@redhat.com> + + * unposted: Completion/Unix/Command/_libvirt: Add another + noglob. (Follow-up to 39199) + 2016-09-14 Daniel Shahaf <d.s@daniel.shahaf.name> * 39199: Completion/Unix/Command/_libvirt: Support libvirt URLs diff --git a/Completion/Unix/Command/_libvirt b/Completion/Unix/Command/_libvirt index 716bca03c..1aa8ed817 100644 --- a/Completion/Unix/Command/_libvirt +++ b/Completion/Unix/Command/_libvirt @@ -218,7 +218,7 @@ case $state in done [[ -z $cmd ]] && return 1 if [[ $words[CURRENT-1] == --server ]]; then - _wanted servers expl server compadd ${=${(S)${${(f)$(_call_program -p servers virt-admin ${(Q)conn_opt} srv-list)}##*--- }//[0-9]* }} && return 0 + _wanted servers expl server compadd ${=${(S)${${(f)$(_call_program -p servers noglob virt-admin ${(Q)conn_opt} srv-list)}##*--- }//[0-9]* }} && return 0 fi if [[ $words[CURRENT-1] == --client ]]; then local srv ; (( ${(k)words[(I)--server]} > 0 )) && srv=${words[1+${(k)words[(I)--server]}]} |