[Top][All Lists]

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

Re: Shell aliases as shell-commands

From: Sebastian Tennant
Subject: Re: Shell aliases as shell-commands
Date: Tue, 20 Jan 2009 10:18:10 +0000
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux)

Quoth Peter Dyballa <address@hidden>:
> Am 20.01.2009 um 10:09 schrieb Sebastian Tennant:
>> It's 'M-x shell-command' I'm thinking about.
> Forget it!  Shell-command is not meant for interactive use as in a
> shell with aliases and such comfort.

But my aliases are so handy!!! I want them (without having to run an
interactive shell), and Emacs can give them to me, I know it can :)

Another approach I'm considering is parsing my bashrc so that 

 'M-x alias NAME'

will simply issue the command associated with NAME as a shell-command.

Haven't had much experience writing parsers though?  Any tips?


reply via email to

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