mirror of
https://github.com/Qubes-Community/Contents.git
synced 2025-05-02 06:16:28 -04:00
lowercase vm states
This commit is contained in:
parent
d185febd13
commit
9401efe5d2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue