On (08/04/07 19:03), Arun G Nair wrote:
> On 4/7/07, Enno Gottox Boland <gottox_AT_gmail.com> wrote:
> >
> >dmenu doesn't care avout nasty shell aliases... And shell scripts also
> >don't care about shell aliases. They are only respected when you type
> >something in your shell...
> >
>
> I know that. Did you try Ion ? It has a thing similar to dmenu and it
> respects aliases. The purpose of dmenu is to execute something instead of
> executing it with an ampersand (&) in the shell imo. And in that case
> respecting aliases is a good thing, imho. Just my opinion.
>
> -Arun
But that is not problem of dmenu, but problem of how the result of dmenu
is used.
Standart invocation is like:
COMMAND=`... | dmenu` && exec $COMMAND
for support of alias in bash, try something like:
COMMAND=`... | dmenu` && exec /bin/bash -ic "$COMMAND"
BUT! in this way, there was one backgrounded bash process for each use.
--anydot
Received on Sun Apr 08 2007 - 17:30:18 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:40:31 UTC