From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chetan Newsgroups: gmane.emacs.help Subject: Re: Shell aliases as shell-commands Date: Mon, 19 Jan 2009 14:53:27 -0800 Organization: Noname Inc. Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1232408449 19901 80.91.229.12 (19 Jan 2009 23:40:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 23:40:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 00:42:01 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LP3kc-0005J6-4I for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 00:41:50 +0100 Original-Received: from localhost ([127.0.0.1]:59134 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LP3jK-00074O-Ux for geh-help-gnu-emacs@m.gmane.org; Mon, 19 Jan 2009 18:40:30 -0500 Original-Path: news.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!nlpi070.nbdc.sbc.com.POSTED!8e1d8614!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:iDDaqDZNtrElWK6ehqyN1rjDujs= Original-Lines: 21 Original-NNTP-Posting-Host: 75.36.182.159 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: nlpi070.nbdc.sbc.com 1232405611 ST000 75.36.182.159 (Mon, 19 Jan 2009 17:53:31 EST) Original-NNTP-Posting-Date: Mon, 19 Jan 2009 17:53:31 EST X-UserInfo1: SCSYQN_@FS@SSVPXJJMF_W@BFJT@QDDMEPWXODMMHXMTWA]EPUUEAE[YETZPIWWI[FCIZA^NBFXZ_D[BFNTCNVPDTNTKHWXKB@X^B_OCJLPZ@ET_O[G\XSG@E\G[ZKVLBL^CJINM@I_KVIOR\T_M_AW_M[_BWU_HFA_]@A_A^SGFAUDE_DFTMQPFWVW[QPJN Original-Xref: news.stanford.edu gnu.emacs.help:166159 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:61482 Archived-At: Sebastian Tennant 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