* 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
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.