Unset prefix var more aggressively

This commit is contained in:
Daniel Imms 2023-01-11 06:03:19 -08:00
parent ae51a0a4b3
commit 90c8584e64
No known key found for this signature in database
GPG key ID: 7116259D505CA628
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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"