Skip to content

Commit

Permalink
restore user's ZDOTDIR for non-login shells w shell integration (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Aug 8, 2022
1 parent 3ee20fe commit 3bc5735
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -126,3 +126,7 @@ __vsc_preexec() {
}
add-zsh-hook precmd __vsc_precmd
add-zsh-hook preexec __vsc_preexec

if [[ $options[login] = off ]]; then
ZDOTDIR=$USER_ZDOTDIR
fi

0 comments on commit 3bc5735

Please sign in to comment.