I am writing a python / pygtk application adding some user scripts (bash) to a specific folder in $ HOME (e.g. ~/.custom_scripts).
I want to make this folder available in $PATH. Therefore, every time a python application adds a script, the script can be instantly available when the user opens a terminal (e.g. gnome-terminal).
Where do you suggest "injecting" that $ PATH dependecy? .bashrc, /etc/profile.detc.? What advantages / disadvantages can I meet?
For example, if I add a script to export a new path to /etc/profile.d, the path is not updated until I re-write.
thank
source
share