From ccea907173343f035267fb4efe826968e1f1a0e3 Mon Sep 17 00:00:00 2001 From: Julian Prein Date: Mon, 19 Sep 2022 13:39:18 +0200 Subject: [PATCH] zprofile: Source private variant --- .config/zsh/.zprofile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index c97460e..88923d6 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -116,6 +116,9 @@ if (( $+commands[dircolors] )); then fi fi +# Source private zprofile +[[ ! -e "${(%):-%x}.priv" ]] || . "${(%):-%x}.priv" + # Automatically start X on login after boot. # Do not use exec so that the zlogout is still read. if (( $+commands[startx] )) && [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]; then