2024年5月15日(水) 22:21 Chet Ramey <chet.ra...@case.edu>: > On 5/14/24 7:15 PM, Koichi Murase wrote: > > In case we talk about different designs, I assume the following one: > > > > * `source name' searches the files in BASH_SOURCE_PATH, PATH, and the > > current working directory. > > No, I'm proposing that this behavior be the default, without the option:
Yes, that's my intent. I mean "without the option" by the above `source name'. > > * `source -i name', if it would be added, searches the files in > > BASH_SOURCE_PATH (excluding PATH and the current working directory > > unless `.' is included in BASH_SOURCE_PATH). Maybe it was not clear to use `source name' and `source -i name' to describe the idea. I meant I assumed the search domain being * BASH_SOURCE_PATH + PATH + PWD without the option * BASH_SOURCE_PATH with the option (if the option is supported)