From 5be7d270c6463f1475fafa7c410848a0233cf2ad Mon Sep 17 00:00:00 2001 From: Jakub Czajka Date: Thu, 22 Dec 2022 18:48:30 +0100 Subject: [PATCH] [bash] Source `.profile`. Guix puts its environment variables inside `.profile`. However, it is not sourced automatically. This commit sources it in `.bash_profile`. --- bash/.bash_profile | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5