[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how are aliases exported?
From: |
Maarten Billemont |
Subject: |
Re: how are aliases exported? |
Date: |
Mon, 16 Apr 2012 10:03:16 +0200 |
On 16 Apr 2012, at 09:54, Maarten Billemont wrote:
> On 15 Apr 2012, at 22:52, Linda Walsh wrote:
>>
>> But I want the syntax
>>
>> include file.shh
>>
>> to just 'work', i.e. first time, it would call my include file, which defines
>> the function...
>
> I'm sorry, tell me again why you don't just write "source file.sh" instead of
> having to invent your own "include file.sh"?
I just realized, you appear to be looking for a way to define a "source path"
to search for the file.
PATH=/foo:/bar:/etc source file
or
PATH=$SOURCEPATH source file
I know it's not as "clean" as "include file", but it's certainly more clear as
to what it does. And clarity is more important, IMO. Also, it conveniently
also doesn't require insane hacks.
smime.p7s
Description: S/MIME cryptographic signature
- how are aliases exported?, Linda Walsh, 2012/04/13
- Re: how are aliases exported?, Dennis Williamson, 2012/04/13
- Re: how are aliases exported?, Linda Walsh, 2012/04/13
- Re: how are aliases exported?, Pierre Gaston, 2012/04/14
- Re: how are aliases exported?, Pierre Gaston, 2012/04/14
- Re: how are aliases exported?, Pierre Gaston, 2012/04/14
- Re: how are aliases exported?, Linda Walsh, 2012/04/15
- Re: how are aliases exported?, Linda Walsh, 2012/04/15
- Re: how are aliases exported?, Maarten Billemont, 2012/04/16
- Re: how are aliases exported?,
Maarten Billemont <=
- Re: how are aliases exported?, Linda Walsh, 2012/04/16
- Re: how are aliases exported?, Maarten Billemont, 2012/04/16
- Re: how are aliases exported?, Linda Walsh, 2012/04/16