simplify interactive shell check in bash_profile; add check for bash_profile existence before sourcing
This commit is contained in:
@@ -1 +1 @@
|
||||
[ -n "$PS1" ] && source ~/.bash_profile;
|
||||
[ -n "$PS1" ] && [[ -f ~/.bash_profile ]] && source ~/.bash_profile;
|
||||
|
||||
Reference in New Issue
Block a user