help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Shell aliases as shell-commands


From: Chetan
Subject: Re: Shell aliases as shell-commands
Date: Mon, 19 Jan 2009 14:53:27 -0800
User-agent: Emacs Gnus

Sebastian Tennant <sebyte@smolny.plus.com> writes:

> Hi all,
>
> I thought it would be trivial to implement a 'M-x alias' function that
> would make aliases defined in one's ~/.bashrc available to 'M-x
> shell-command' calls, but it's proving to be lot trickier than I
> thought.
>
> Does anyone know of an existing extension that provides this kind of
> functionality?
>
> Any tips/pointers/suggestions much appreciated.
>
> Regards,
>
> Sebastian
I have a .bash_aliases that I load from .bashrc, so have also used
. ~/.bash_aliases ; myalias

Chetan


reply via email to

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