Skip to content

Commit ef7831e

Browse files
authored
reset user's ZDOTDIR if shell integration is disabled (microsoft#158132)
fix 157128
1 parent 597b59a commit ef7831e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ builtin autoload -Uz add-zsh-hook
66

77
# Prevent the script recursing when setting up
88
if [ -n "$VSCODE_SHELL_INTEGRATION" ]; then
9+
ZDOTDIR=$USER_ZDOTDIR
910
builtin return
1011
fi
1112

0 commit comments

Comments
 (0)