all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kai Grossjohann <kai@emptydomain.de>
Subject: Re: eshell: How to ignore a word?
Date: Tue, 16 Nov 2004 11:08:50 +0100	[thread overview]
Message-ID: <86d5ye6r7x.fsf@ketchup.de.uu.net> (raw)
In-Reply-To: 86oeicr6nx.fsf@ketchup.de.uu.net

Kai Grossjohann <kai@emptydomain.de> writes:

> Say I wanted to define eshell completion for the command nohup.  How
> would I go about this?
>
> Essentially, pcomplete should complete the command line "nohup foo
> bar" as if the "nohup" wasn't there.

I found out that eshell already knows to complete xargs, and it works
to do

(defalias 'pcomplete/nohup 'pcomplete/xargs)

Well, actually, I have a command "ec" that I used this with, and I
didn't try for nohup.  But I think it will also work for nohup.

Kai

      reply	other threads:[~2004-11-16 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-05  9:23 eshell: How to ignore a word? Kai Grossjohann
2004-11-16 10:08 ` Kai Grossjohann [this message]

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=86d5ye6r7x.fsf@ketchup.de.uu.net \
    --to=kai@emptydomain.de \
    /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/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.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.