mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Unset prefix var more aggressively
This commit is contained in:
parent
ae51a0a4b3
commit
90c8584e64
|
@ -11,6 +11,6 @@ if [[ $options[norcs] = off && -o "login" && -f $USER_ZDOTDIR/.zprofile ]]; the
|
|||
# Apply any explicit path prefix (see #99878)
|
||||
if (( ${+VSCODE_PATH_PREFIX} )); then
|
||||
export PATH=$VSCODE_PATH_PREFIX$PATH
|
||||
builtin unset VSCODE_PATH_PREFIX
|
||||
fi
|
||||
builtin unset VSCODE_PATH_PREFIX
|
||||
fi
|
||||
|
|
|
@ -25,8 +25,8 @@ set --global VSCODE_SHELL_INTEGRATION 1
|
|||
# Apply any explicit path prefix (see #99878)
|
||||
if status --is-login; and set -q VSCODE_PATH_PREFIX
|
||||
fish_add_path -p $VSCODE_PATH_PREFIX
|
||||
set -e VSCODE_PATH_PREFIX
|
||||
end
|
||||
set -e VSCODE_PATH_PREFIX
|
||||
|
||||
# Helper function
|
||||
function __vsc_esc -d "Emit escape sequences for VS Code shell integration"
|
||||
|
|
Loading…
Reference in a new issue