Update profile.sh.tmpl

This commit is contained in:
Brian Zalewski 2024-02-26 07:23:55 -05:00 committed by GitHub
parent 7796a7f37f
commit bf600469de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,7 +94,7 @@ if [ "$BASH_SUPPORT" = 'true' ]; then
fi
### MOTD
if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/motd.sh" ]; then
if [ "$SHOW_MOTD" = 'true' ] && [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/shell/motd.sh" ]; then
. "${XDG_CONFIG_HOME:-$HOME/.config}/shell/motd.sh"
fi