Skip to content

Commit

Permalink
reset user's ZDOTDIR if shell integration is disabled (#158132)
Browse files Browse the repository at this point in the history
fix 157128
  • Loading branch information
meganrogge committed Aug 15, 2022
1 parent 597b59a commit ef7831e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ builtin autoload -Uz add-zsh-hook

# Prevent the script recursing when setting up
if [ -n "$VSCODE_SHELL_INTEGRATION" ]; then
ZDOTDIR=$USER_ZDOTDIR
builtin return
fi

Expand Down

0 comments on commit ef7831e

Please sign in to comment.