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 05a5699 commit 8b889f1Copy full SHA for 8b889f1
src/vs/workbench/contrib/terminal/browser/media/shellIntegration.zsh
@@ -2,9 +2,19 @@
2
# Copyright (c) Microsoft Corporation. All rights reserved.
3
# Licensed under the MIT License. See License.txt in the project root for license information.
4
# ---------------------------------------------------------------------------------------------
5
-
6
autoload -Uz add-zsh-hook
7
+if [ -f ~/.zshenv ]; then
8
+ . ~/.zshenv
9
+fi
10
+if [[ -o "login" && -f ~/.zprofile ]]; then
11
+ . ~/.zprofile
12
13
+if [ -f ~/.zshrc ]; then
14
+ . ~/.zshrc
15
16
+unset ZDOTDIR # ensure ~/.zlogout runs as expected
17
+
18
IN_COMMAND_EXECUTION="1"
19
LAST_HISTORY_ID=0
20
0 commit comments