[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "source" shell commands
From: |
Matthew Flaschen |
Subject: |
Re: "source" shell commands |
Date: |
Mon, 26 Mar 2007 05:59:29 -0400 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070306) |
Peter Dyballa wrote:
>> That's not desirable, because ~/.rc is supposed to be usable by multiple
>> shells.
>
> OK. Can distinguish between interactive and non-interactive goodies?
I figured that out the hard way just before your email. What I did is
break out the "interactive code" (aliases and function definitions) from
the environment variables. The interactive stuff is now in ~/.rc , and
loaded by each shell (.bashrc and .zshrc). The environment exports are
in ~/.env , which is sourced by ~/.kde/env/kde.sh
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?
No it doesn't, as I've now grasped. Nor does emacs or the rest of the
GUI apps, so it's better of separate.
Best,
Matthew Flaschen
- Re: "source" shell commands, (continued)
- Re: "source" shell commands, Tassilo Horn, 2007/03/24
- Re: "source" shell commands, David Kastrup, 2007/03/24
- Re: "source" shell commands, Barry Margolin, 2007/03/24
- Re: "source" shell commands, Matthew Flaschen, 2007/03/24
- Re: "source" shell commands, Matthew Flaschen, 2007/03/24
- Re: "source" shell commands, Peter Dyballa, 2007/03/25
- Re: "source" shell commands, Matthew Flaschen, 2007/03/25
- Re: "source" shell commands, Peter Dyballa, 2007/03/25
- Re: "source" shell commands, Matthew Flaschen, 2007/03/25
- Re: "source" shell commands, Peter Dyballa, 2007/03/26
- Re: "source" shell commands,
Matthew Flaschen <=
- Message not available
- Re: "source" shell commands, Tim X, 2007/03/25
- Re: "source" shell commands, Matthew Flaschen, 2007/03/25
- Message not available
- Re: "source" shell commands, Tim X, 2007/03/26
- Message not available
- Re: "source" shell commands, Tim X, 2007/03/24
- Re: "source" shell commands, Matthew Flaschen, 2007/03/25
- Message not available
- Re: "source" shell commands, Tim X, 2007/03/25
- Message not available
- Re: "source" shell commands, Tassilo Horn, 2007/03/26
- Re: "source" shell commands, Matthew Flaschen, 2007/03/26
- Message not available
- Re: "source" shell commands, Tassilo Horn, 2007/03/26
- Re: "source" shell commands, Matthew Flaschen, 2007/03/26