mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-22 21:59:26 -05:00
lowercase vm states
This commit is contained in:
parent
d185febd13
commit
9401efe5d2
@ -45,7 +45,7 @@ _complete-vms() {
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
case "${state}" in
|
||||
runtrans)
|
||||
vms=$(qvm-ls --raw-data | grep -i "|\(Running\|Transient\)|" | cut -f1 -d"|")
|
||||
vms=$(qvm-ls --raw-data | grep -i "|\(running\|transient\)|" | cut -f1 -d"|")
|
||||
;;
|
||||
running|halted|paused)
|
||||
vms=$(qvm-ls --raw-data | grep -i "|${state}|" | cut -f1 -d"|")
|
||||
|
Loading…
Reference in New Issue
Block a user