我需要允许多个应用程序附加到系统变量(在这种情况下为$ PYTHONPATH)。我正在考虑指定一个目录,每个应用程序可以添加一个模块(例如.bash_profile_modulename)。在〜/ .bash_profile中试过这样的东西:
find /home/mike/ -name ".bash_profile_*" | while read FILE; do source "$FILE" done;
但它似乎没有起作用。
@H_404_5@