Merge pull request #185987 from LoveIsGrief/display-manager-read-.profile

Attempt to source .profile if .xprofile not found
This commit is contained in:
Kira Bruneau 2022-08-17 15:58:46 -04:00 committed by GitHub
commit 6e665c4e29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,10 @@ let
# Shared environment setup for graphical sessions.
. /etc/profile
if test -f ~/.profile; then
source ~/.profile
fi
cd "$HOME"
# Allow the user to execute commands at the beginning of the X session.