QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
543 stars 48 forks source link

[Contribution] qvm-autocomplete #8296

Open BernhardOnline opened 1 year ago

BernhardOnline commented 1 year ago

How to file a helpful issue

The problem you're addressing (if any)

The bash autocomplete function of a dom0 terminal does not know qubes-specific qvm-* commands

The solution you'd like

I put my solution here. https://github.com/BernhardOnline/qvm-autocomplete

The value to a user, and who that user might be

The auto-complete function distinguishes between all/running/paused and halted VM's according to the qvm-XX command. The autocomplet file is easy to read & maintain. I use it since qubes 3.2 ...

jamke commented 1 year ago

The code is 80 lines long and is providing very-very few things for completion - only VM names. There are already 3 known solutions that provide much more advanced things.

Check out this: #7887, it also has links to other existing scripts that do the same and more.