* eshell: How to ignore a word?
@ 2004-11-05 9:23 Kai Grossjohann
2004-11-16 10:08 ` Kai Grossjohann
0 siblings, 1 reply; 2+ messages in thread
From: Kai Grossjohann @ 2004-11-05 9:23 UTC (permalink / raw)
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.
tia,
Kai
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: eshell: How to ignore a word?
2004-11-05 9:23 eshell: How to ignore a word? Kai Grossjohann
@ 2004-11-16 10:08 ` Kai Grossjohann
0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2004-11-16 10:08 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-16 10:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05 9:23 eshell: How to ignore a word? Kai Grossjohann
2004-11-16 10:08 ` Kai Grossjohann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).