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: "source" shell commands Date: Mon, 26 Mar 2007 10:16:47 +0200 Message-ID: <718025B5-97FA-4602-8207-4A52E581FE88@Web.DE> References: <87bqii936r.fsf@baldur.tsdh.de> <85wt16btg5.fsf@lola.goethe.zz> <46059643.8090705@gatech.edu> <4605BD72.6040904@gatech.edu> <2D4FA764-9DEE-4F5C-8501-AA4E3F4787A7@Web.DE> <46065528.5000702@gatech.edu> <6A88E31C-15DF-4589-9D89-F5C572080230@Web.DE> <46071777.9000502@gatech.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1174902639 1573 80.91.229.12 (26 Mar 2007 09:50:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2007 09:50:39 +0000 (UTC) Cc: emacs To: Matthew Flaschen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 26 11:50:32 2007 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 1HVlqQ-0005Pp-KD for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 11:50:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVlse-0002bg-EX for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Mar 2007 04:52:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HVlsD-0002Xt-1M for help-gnu-emacs@gnu.org; Mon, 26 Mar 2007 05:52:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HVlsC-0002WZ-1v for help-gnu-emacs@gnu.org; Mon, 26 Mar 2007 05:52:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HVlsB-0002WK-Of for help-gnu-emacs@gnu.org; Mon, 26 Mar 2007 04:52:19 -0500 Original-Received: from fmmailgate01.web.de ([217.72.192.221]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HVlpx-000289-5q for help-gnu-emacs@gnu.org; Mon, 26 Mar 2007 05:50:01 -0400 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate01.web.de (Postfix) with ESMTP id A23BD6E55EEA; Mon, 26 Mar 2007 11:49:59 +0200 (CEST) Original-Received: from [62.134.234.37] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1HVlpv-0007Pr-00; Mon, 26 Mar 2007 11:49:59 +0200 In-Reply-To: <46071777.9000502@gatech.edu> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-detected-kernel: 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:42194 Archived-At: Am 26.03.2007 um 02:44 schrieb Matthew Flaschen: > I moved ~/.bashrc to ~/.bash_profile . I primarily use zsh , so I > don't > want to use generic profile. What is your login shell? Is the shell you work in different from your login shell? Can you prepare your login shell to have an environment that contains, just after the moment in which you've input your password, all valuable and necessary environment variables? > >>> Should I source ~/.rc in ~/.profile instead? >> No. Keep it simple, let bash do its job right. > > That's not desirable, because ~/.rc is supposed to be usable by > multiple > shells. OK. Can distinguish between interactive and non-interactive goodies? I mean: has the shell interpreter, that executes a shell script, to know all the shell functions and shell aliases you need for your more or less interactive doing? -- Greetings Pete The day Microsoft makes something that doesn't suck is the day they start selling vacuum cleaners. Ernest Jan Plugge