bashrc: Update interactive shell detection condition

Bash manual defines a shell as interactive if "$PS1" is set, there's no need to check it against a specific string.
This commit is contained in:
2024-02-24 16:28:19 +01:00
parent 0130317102
commit 76c0e2c82c

2
bashrc
View File

@@ -90,6 +90,6 @@ fi
# Include customized configurations for interactive shell
if [ "$PS1" = "[\u@\h \W]\\$ " ]; then
if [ "$PS1" ]; then
source /etc/bashrc.cust
fi