simplify interactive shell check in bash_profile; add check for bash_profile existence before sourcing

This commit is contained in:
2026-10-21 17:11:39 -06:00
parent 2083bcc6a4
commit d5567ef7ca
2 changed files with 6 additions and 9 deletions

View File

@@ -1 +1 @@
[ -n "$PS1" ] && source ~/.bash_profile;
[ -n "$PS1" ] && [[ -f ~/.bash_profile ]] && source ~/.bash_profile;