2 ms·
My solution is that bash_profile simply runs bashrc, and bashrc starts with: if [ -n "$PS1" ]; then That seems to work fine everywhere.
by LeoPanthera 6y ago
My solution is that bash_profile simply runs bashrc, and bashrc starts with:
if [ -n "$PS1" ]; then
That seems to work fine everywhere.
- matheusmoreira 6y agoI agree, this is a much better solution. Multiple shell configuration files should be deprecated and replaced with this.