From: Chetan <Chetan.xspam@xspam.sbcglobal.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Shell aliases as shell-commands
Date: Mon, 19 Jan 2009 14:53:27 -0800 [thread overview]
Message-ID: <ubpu2zz4o.fsf@myhost.sbcglobal.net> (raw)
In-Reply-To: mailman.5279.1232399379.26697.help-gnu-emacs@gnu.org
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
next parent reply other threads:[~2009-01-19 22:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5279.1232399379.26697.help-gnu-emacs@gnu.org>
2009-01-19 22:53 ` Chetan [this message]
2009-01-20 9:07 ` Shell aliases as shell-commands Sebastian Tennant
2009-01-19 21:11 Sebastian Tennant
2009-01-19 22:02 ` Peter Dyballa
2009-01-20 9:09 ` Sebastian Tennant
2009-01-20 9:38 ` Peter Dyballa
2009-01-20 10:18 ` Sebastian Tennant
2009-01-20 11:43 ` Peter Dyballa
2009-01-20 15:40 ` Sebastian Tennant
2009-01-20 16:43 ` Peter Dyballa
2009-01-20 17:09 ` Thierry Volpiatto
2009-01-20 18:03 ` Sebastian Tennant
[not found] ` <mailman.5330.1232446602.26697.help-gnu-emacs@gnu.org>
2009-01-20 11:02 ` Teemu Likonen
2009-01-20 11:10 ` Sebastian Tennant
2009-01-21 5:46 ` Barry Margolin
2009-01-21 10:51 ` Sebastian Tennant
2009-01-21 10:40 ` Michael Heerdegen
2009-01-21 15:26 ` Sebastian Tennant
2009-01-21 15:49 ` Peter Dyballa
2009-01-21 17:07 ` Sebastian Tennant
2009-01-21 18:26 ` Peter Dyballa
[not found] ` <mailman.5445.1232552977.26697.help-gnu-emacs@gnu.org>
2009-01-22 11:52 ` Michael Heerdegen
2009-01-22 13:51 ` Peter Dyballa
2009-01-22 20:26 ` Sebastian Tennant
2009-01-22 13:57 ` Thierry Volpiatto
[not found] ` <mailman.5510.1232633053.26697.help-gnu-emacs@gnu.org>
2009-01-22 17:55 ` Michael Heerdegen
2009-01-22 20:35 ` Sebastian Tennant
[not found] ` <mailman.5443.1232551479.26697.help-gnu-emacs@gnu.org>
2009-02-17 15:14 ` David Combs
2009-02-17 23:18 ` Peter Dyballa
[not found] ` <mailman.5332.1232449359.26697.help-gnu-emacs@gnu.org>
2009-02-17 15:08 ` David Combs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ubpu2zz4o.fsf@myhost.sbcglobal.net \
--to=chetan.xspam@xspam.sbcglobal.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).