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: Mon, 15 Jun 2015 22:16:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Kost <address@hidden> skribis:

> So (analogously to 'pcomplete/sudo') the following function may be used
> to complete "pre-inst-env" properly:
>
> (defun pcomplete/pre-inst-env ()
>   (pcmpl-args-pcomplete
>    (pcmpl-args-make-argspecs
>     `((argument 0 (("COMMAND" nil))
>                 :subparser pcmpl-args-command-subparser)))))

Indeed, that works like a charm, thanks!

Now, the fact that ‘pre-inst-env’ is not mentioned in this function is
puzzling.  It doesn’t take the function name into account, does it?

Ludo’.



reply via email to

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