summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-09-12 22:05:21 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-09-12 22:05:21 -0500
commit11b2e37c5226ac1288614d27a9260bd2a46a78f3 (patch)
treebc5653e077a14c0d14f96dcbd9a623ca801a2eb6
parent59e19225f2f199855f794f6ac175ff14226916cd (diff)
downloadzsh-11b2e37c5226ac1288614d27a9260bd2a46a78f3.tar.xz
zsh-11b2e37c5226ac1288614d27a9260bd2a46a78f3.zip
source home-manager session environment vars
-rwxr-xr-xzprofile1
1 files changed, 1 insertions, 0 deletions
diff --git a/zprofile b/zprofile
index 68b5f86..f4c2e87 100755
--- a/zprofile
+++ b/zprofile
@@ -53,6 +53,7 @@ export QT_QPA_PLATFORMTHEME='gtk2'
# Misc Zsh setup
mkdir -p "$(dirname "$ZHISTFILE")"
source "$ZDOTDIR/profiles/zprofile.$HOST" 2>/dev/null # Source additional host-specific profiles
+source /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh 2>/dev/null # Source home-manager session environment vars
# Autostart X after login
[ -z $DISPLAY ] && [[ $UID != 0 ]] && [[ $TTY =~ /dev/tty(1|C0) ]] && command -v startx &> /dev/null && startx "$X11CONFIG/xinitrc"