X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/e69caf640e206d5736bbac8d9a6dd75e63ec70c0..c9ab0b12d4183935113856f0c9c5575c8e149208:/base/.zshenv?ds=inline diff --git a/base/.zshenv b/base/.zshenv index 90ec4ca..45ea339 100644 --- a/base/.zshenv +++ b/base/.zshenv @@ -24,8 +24,9 @@ if [[ ! -v _sev_first_display && ( -v DISPLAY || -v WAYLAND_DISPLAY ) ]] { # exported; for example, this previously happened with sway without a # display manager or launcher in front of it export _sev_first_display= - _sev_refresh_gpgagent= source ${ZDOTDIR:-~}/.zprofile -} elif [[ ! -o login && $SHLVL == 1 ]] { + _sev_refresh_gpgagent= + [[ ! -o login ]] && source ${ZDOTDIR:-~}/.zprofile +} elif [[ ! -o login && $SHLVL -eq 1 && ${+TERMUX_VERSION} -eq 0 ]] { ### early zprofile sourcing for first shell even if not a login shell source ${ZDOTDIR:-~}/.zprofile }