aboutsummaryrefslogtreecommitdiff
path: root/kvmx-clipboard
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-11-12 18:29:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-11-12 18:29:00 -0200
commit3ac9833b481290433c15f44f3a53b52f603bdd20 (patch)
tree1da0383752170066a9facbdd399ca192f217458b /kvmx-clipboard
parentc0141ba3b85512d291b76c38282ac40793272c89 (diff)
downloadkvmx-3ac9833b481290433c15f44f3a53b52f603bdd20.tar.gz
kvmx-3ac9833b481290433c15f44f3a53b52f603bdd20.tar.bz2
Sort instance listing at kvmx-clipboard
Diffstat (limited to 'kvmx-clipboard')
-rwxr-xr-xkvmx-clipboard2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmx-clipboard b/kvmx-clipboard
index 6f45463..8bf6f6c 100755
--- a/kvmx-clipboard
+++ b/kvmx-clipboard
@@ -55,7 +55,7 @@ function __kvmx_clipboard_copy {
function __kvmx_clipboard_list {
# That's crude, but fast
- instances="`ps aux | grep qemu-system | grep -- '-name ' | sed -e 's/^.*-name //' -e 's/ .*//'`"
+ instances="`ps aux | grep qemu-system | grep -- '-name ' | sed -e 's/^.*-name //' -e 's/ .*//' | sort`"
instances="host $instances"
echo "KVMX Clipboard"