bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 5/8] builtins/source: parse the -i option


From: Lawrence Velázquez
Subject: Re: [PATCH v2 5/8] builtins/source: parse the -i option
Date: Tue, 14 May 2024 16:00:40 -0400
User-agent: Cyrus-JMAP/3.11.0-alpha0-455-g0aad06e44-fm-20240509.001-g0aad06e4

On Tue, May 14, 2024, at 3:51 PM, Chet Ramey wrote:
> On 5/13/24 6:37 AM, Matheus Afonso Martins Moreira wrote:
>> Passing the -i option to the source builtin
>> enables isolated sourcing mode which restricts
>> its search path to the directories defined by
>> the BASH_SOURCE_PATH variable. This also has
>> the added benefit of not touching PATH at all.
>
>
> What do folks think about forcing an option to enable using
> BASH_SOURCE_PATH? Should it be required? Is it necessary? (I personally
> think it is not.)

I still don't care for it.

-- 
vq



reply via email to

[Prev in Thread] Current Thread [Next in Thread]