Alex Kost <alez...@gmail.com> skribis: > Ludovic Courtès (2015-06-08 22:19 +0300) wrote: > >> PS: I wonder if something could also be done for “./pre-inst-env guix”... > > IIUC there is no simple way to configure pcomplete for that. Here is > an invasive hack I came up with:
Nice, thanks! > (defvar al/pcomplete-skipped-commands > '("sudo" "pre-inst-env") Actually ‘sudo’ completion works well by default; e.g., “sudo ha<TAB>” completes to “sudo halt”. Could it be that there’s another way to achieve that? Ludo’.