Re: Launching console apps with command completion

"Bernhard R. Link" <[email protected]>
Newsgroups gmane.comp.window-managers.ratpoison.devel
Message-ID <[email protected]>
* Carlos Pita <[email protected]> [100626 06:28]:
> For what I'm able to see this seems to be impossible, but just in case
> I'm missing something obvious I'm asking it anyway.
>
> How can I get shell command completion (just like with !) for a custom
> prefix as urxvt -e ? As it's evident from the question I want to be
> able to launch console applications the same that I launch x ones. The
> following doesn't provide completion:
>
> bind P colon exec urxvt -e

colon only asks for missing arguments. But there are no missing ones,
exec only expects at least one argument.

> I can't figure out how to get it without patching the sources.

try something like

bind P exec urxvt -e $(ratpoison -c 'prompt urxvt -e ')

	Bernhard R. Link
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.