From 9401efe5d22a9a3fe068900738e222b44dac5fc7 Mon Sep 17 00:00:00 2001 From: taradiddles Date: Sat, 14 Apr 2018 22:16:29 +0300 Subject: [PATCH] lowercase vm states --- code/productivity/qvm-cmds-bash-completion.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/productivity/qvm-cmds-bash-completion.bash b/code/productivity/qvm-cmds-bash-completion.bash index a96c257..5d1dbef 100644 --- a/code/productivity/qvm-cmds-bash-completion.bash +++ b/code/productivity/qvm-cmds-bash-completion.bash @@ -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"|")