guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Complete './pre-inst-env guix ...'


From: Ludovic Courtès
Subject: Re: Complete './pre-inst-env guix ...'
Date: Wed, 10 Jun 2015 21:44:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]