|
|
|
|
|
by matheusmoreira
293 days ago
|
|
> do you mean something more or less like a separate search path Exactly. I sent to the GNU Bash mailing list patches that implement literally this. It worked like this: # searches for the `some-module` file
# in some separate PATH just for libraries
# for example: ~/.local/share/bash/modules
source -l some-module
At some point someone said this was a schizophrenic idea and I just left. Patches are still on the mailing list. I have no idea what the maintainer did with them. |
|
I wasn't readily able to find where the discussion broke down, but I see that there's a -p <path> flag in bash 5.3.