Make zfs env accessable to xsession/desktop.

This commit is contained in:
cyteen 2026-03-04 15:05:26 +00:00
parent 93c81d4e78
commit 05949881ec
1 changed files with 14 additions and 0 deletions

14
020_xsessionrc.sh Normal file
View File

@ -0,0 +1,14 @@
#!/usr/bin/env bash
conf_print_xsessionrc() {
cat <<EOF
# Source your zsh environment to inherit PATH and other variables
if [ -f ~/.zshrc ]; then
source ~/.zshrc
fi
# Optionally, set PATH directly if needed
# export PATH="$HOME/.local/bin:$PATH"
export PATH
EOF
}