diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-10-31 09:54:04 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-10-31 09:54:04 -0700 |
commit | 682e779a211fdfa0baa41c06d821f0ea9acf4941 (patch) | |
tree | e82428bd72b6a0b4049eb6ee215c859b8d69c8af /Completion/Unix/Command | |
parent | 0e510f0c3522c9b18e9320388dd232a84fa79351 (diff) | |
download | zsh-682e779a211fdfa0baa41c06d821f0ea9acf4941.tar.gz zsh-682e779a211fdfa0baa41c06d821f0ea9acf4941.tar.xz zsh-682e779a211fdfa0baa41c06d821f0ea9acf4941.zip |
unposted (cf. 36998,36999): undo 36956 / restore 34451 with expanded comment about the flip-flopping
Diffstat (limited to 'Completion/Unix/Command')
-rw-r--r-- | Completion/Unix/Command/_qemu | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_qemu b/Completion/Unix/Command/_qemu index db07eba33..3c21c3e74 100644 --- a/Completion/Unix/Command/_qemu +++ b/Completion/Unix/Command/_qemu @@ -2,7 +2,7 @@ _qemu_log_items () { local -a opts hline - $service -d \? | while read -A hline; do + $service -d \? 2>/dev/null | while read -A hline; do [[ $hline[1] = Log ]] && continue opts=($opts "${hline[1]}[${hline[2,-1]}]") done @@ -11,7 +11,7 @@ _qemu_log_items () { local _qemu_machines -_qemu_machines=(${${${(f)"$($service -M \?)"}[2,-1]}%% *}) +_qemu_machines=(${${${(f)"$($service -M \? 2>/dev/null)"}[2,-1]}%% *}) _arguments \ '-'{fda,fdb,hda,hdb,hdc,hdd,cdrom}':disk image:_files' \ |