[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive shell commands
From: |
Chetan |
Subject: |
Re: Interactive shell commands |
Date: |
Wed, 21 Jan 2009 09:02:46 -0800 |
User-agent: |
Emacs Gnus |
Sebastian Tennant <address@hidden> writes:
> Ignore this entire thread!
>
> If you want your shell aliases and functions to be accessible via 'M-!'
> (shell-command) then use this two-line solution:
>
> http://article.gmane.org/gmane.emacs.help/61529
>
> Thanks to Michael Heerdegen for pointing this out.
>
> Sebastian
This has the undesirable effect on shell scripts written by someone
else and possibly your own. There is obviously a reason why aliases
are not loaded by default in non-interactive shells, but they can be
enabled if one is prepared to deal with it.
Chetan