2024年5月15日(水) 5:16 Chet Ramey <chet.ra...@case.edu>: > On 5/13/24 10:53 PM, Matheus Afonso Martins Moreira wrote: > >> I think we should restrict the search in > >> BASH_SOURCE_PATH and shouldn't fall back to local files. > > > > I concur but thought it'd be wise to discuss it first so I left it in. > > Searching the current directory is the existing behavior (albeit when using > PATH) when not in posix mode.
I agree that we should fall back to the files in the current working directory for `source name'. However, in the above, I was talking about the behavior of the suggested option to turn off the fallback.