From: Jakub Czajka Date: Thu, 22 Dec 2022 17:48:30 +0000 (+0100) Subject: [bash] Source `.profile`. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=5be7d270c6463f1475fafa7c410848a0233cf2ad;p=guix.git [bash] Source `.profile`. Guix puts its environment variables inside `.profile`. However, it is not sourced automatically. This commit sources it in `.bash_profile`. --- diff --git a/bash/.bash_profile b/bash/.bash_profile index d4a054e..c3a5c81 100644 --- a/bash/.bash_profile +++ b/bash/.bash_profile @@ -7,6 +7,10 @@ # Sources program-specific profiles from $XDG_CONFIG_HOME/profile.d and starts # Xorg. See bash(1) for more information about login shells. +if [ -f ~/.profile ]; then + . ~/.profile +fi + _confdir=${XDG_CONFIG_HOME:-${HOME}/.config} if [ -d ${_confdir}/profile.d/ ]; then