We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b29d21 commit 3265643Copy full SHA for 3265643
src/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh
@@ -23,7 +23,7 @@ if [[ "$VSCODE_INJECTION" == "1" ]]; then
23
ZDOTDIR=$VSCODE_ZDOTDIR
24
fi
25
26
- if [[ -f $USER_ZDOTDIR/.zsh_history ]]; then
+ if [[ -f $USER_ZDOTDIR/.zsh_history && -z HISTFILE ]]; then
27
HISTFILE=$USER_ZDOTDIR/.zsh_history
28
29
0 commit comments