help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: eshell: How to ignore a word?


From: Kai Grossjohann
Subject: Re: eshell: How to ignore a word?
Date: Tue, 16 Nov 2004 11:08:50 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

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 via email to

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