all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: Complete './pre-inst-env guix ...'
Date: Wed, 10 Jun 2015 21:44:43 +0200	[thread overview]
Message-ID: <87381zgxg4.fsf@gnu.org> (raw)
In-Reply-To: <87bngodnpf.fsf_-_@gmail.com> (Alex Kost's message of "Wed, 10 Jun 2015 10:31:08 +0300")

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

  reply	other threads:[~2015-06-10 19:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-06 20:44 [PATCH 2/2] emacs: Add shell completions for "guix" command Alex Kost
2015-06-07 15:36 ` Ludovic Courtès
2015-06-07 19:38   ` Ludovic Courtès
2015-06-08  8:52   ` Alex Kost
2015-06-08 19:19     ` Ludovic Courtès
2015-06-10  7:31       ` Complete './pre-inst-env guix ...' Alex Kost
2015-06-10 19:44         ` Ludovic Courtès [this message]
2015-06-11 14:41           ` Alex Kost
2015-06-14 22:07             ` Ludovic Courtès
2015-06-15 12:43               ` Alex Kost
2015-06-15 20:16                 ` Ludovic Courtès
2015-06-16 17:23                   ` Alex Kost

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87381zgxg4.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.