zprofile: Source private variant

This commit is contained in:
2022-09-19 13:39:18 +02:00
parent 764bc6d9b7
commit ccea907173

View File

@@ -116,6 +116,9 @@ if (( $+commands[dircolors] )); then
fi fi
fi fi
# Source private zprofile
[[ ! -e "${(%):-%x}.priv" ]] || . "${(%):-%x}.priv"
# Automatically start X on login after boot. # Automatically start X on login after boot.
# Do not use exec so that the zlogout is still read. # Do not use exec so that the zlogout is still read.
if (( $+commands[startx] )) && [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then if (( $+commands[startx] )) && [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then