mirror of
https://github.com/Qubes-Community/Contents.git
synced 2025-01-10 14:49:32 -05:00
renamed
This commit is contained in:
parent
368f19a814
commit
08b32cb15a
@ -1,6 +1,7 @@
|
|||||||
# qvm-* commands bash auto completion
|
# qvm-* commands bash auto completion
|
||||||
|
|
||||||
# Copy this file to /etc/bash_completion.d/qvm.sh
|
# copy this file to /etc/bash_completion.d/qvm.sh
|
||||||
|
# make sure 'bash-completion' is installed (sudo qubes-dom0-update bash-completion)
|
||||||
|
|
||||||
# credit: https://www.mail-archive.com/qubes-users@googlegroups.com/msg20088.html
|
# credit: https://www.mail-archive.com/qubes-users@googlegroups.com/msg20088.html
|
||||||
|
|
||||||
@ -12,7 +13,7 @@ _qvm()
|
|||||||
cur="${COMP_WORDS[COMP_CWORD]}"
|
cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case ${state} in
|
case ${state} in
|
||||||
running|halted|paused)
|
running|halted|paused)
|
||||||
vms=$(qvm-ls --raw-data | grep -i "${state}" | cut -f1 -d"|")
|
vms=$(qvm-ls --raw-data | grep -i "|${state}|" | cut -f1 -d"|")
|
||||||
;;
|
;;
|
||||||
"")
|
"")
|
||||||
vms=$(qvm-ls --raw-list)
|
vms=$(qvm-ls --raw-list)
|
Loading…
Reference in New Issue
Block a user