From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: Shell aliases as shell-commands Date: Tue, 20 Jan 2009 12:43:09 +0100 Message-ID: <85A4F069-4A99-4B9E-AD09-4F2C860A9D83@Web.DE> References: <7i4qs2l9.fsf@vps203.linuxvps.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232453483 7363 80.91.229.12 (20 Jan 2009 12:11:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Jan 2009 12:11:23 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Sebastian Tennant Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 20 13:12:35 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 1LPFS0-0007OS-5e for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 13:11:24 +0100 Original-Received: from localhost ([127.0.0.1]:57884 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPFQf-0002H2-Us for geh-help-gnu-emacs@m.gmane.org; Tue, 20 Jan 2009 07:10:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LPF0s-000385-0r for help-gnu-emacs@gnu.org; Tue, 20 Jan 2009 06:43:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LPF0q-00037R-IO for help-gnu-emacs@gnu.org; Tue, 20 Jan 2009 06:43:21 -0500 Original-Received: from [199.232.76.173] (port=60953 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LPF0p-00037A-KK for help-gnu-emacs@gnu.org; Tue, 20 Jan 2009 06:43:19 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]:60544) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LPF0p-0004zl-7S for help-gnu-emacs@gnu.org; Tue, 20 Jan 2009 06:43:19 -0500 Original-Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate03.web.de (Postfix) with ESMTP id 0D9E8F6C90EC; Tue, 20 Jan 2009 12:43:16 +0100 (CET) Original-Received: from [91.35.206.101] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #277) id 1LPF0l-0006DQ-00; Tue, 20 Jan 2009 12:43:15 +0100 In-Reply-To: <7i4qs2l9.fsf@vps203.linuxvps.org> X-Mailer: Apple Mail (2.753.1) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX187yjtX0yaM/qgAal0W1Aq1xmcQkSClnXyQHlW3 r0TKuElLAMlVAwW/bUnhe5RmhagCRnLEdnZbx5yEHL2cocrdyR N262KUabt+WzsoQ3DBZg== X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:61497 Archived-At: Am 20.01.2009 um 11:18 schrieb Sebastian Tennant: > But my aliases are so handy!!! OK! So make the shell used an interactive login shell! The variable shell-command-switch seems to be a good option to achieve this, just look into simple.el. The variable shell-command-history could also be set to true to refer to earlier commands ... -- Greetings Pete UNIX is user friendly, it's just picky about who its friends are.