Skip to content

Commit 9ea560b

Browse files
committed
vscode int
1 parent d3e9606 commit 9ea560b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

chezmoi/dot_config/zsh/private_dot_zshrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ z4h bindkey z4h-cd-down Shift+Down # cd into a child directory
259259
autoload -Uz zmv
260260
autoload -Uz $fpath[1]/*(.:t) # Load all my functions
261261

262-
# add-zsh-hook chpwd activate_venv_on_cd
263-
264262
autoload -Uz bracketed-paste-url-magic
265263
zle -N bracketed-paste bracketed-paste-url-magic
266264
autoload -Uz url-quote-magic
@@ -276,6 +274,7 @@ z4h source /etc/grc.zsh # Colourize all the other things
276274
z4h source -- ${HOMEBREW_PREFIX:+$HOMEBREW_PREFIX/etc/grc.zsh} # Colourize all the other things
277275
z4h source -- ${XDG_CONFIG_HOME}/mise/activate.zsh 2>/dev/null # From running `mise activate zsh` and then modified to not assume a path.
278276
# _exists mise && eval "$(mise activate zsh)"
277+
[[ "$TERM_PROGRAM" == "vscode" ]] && . "$(code --locate-shell-integration-path zsh)"
279278

280279
unfunction _exists
281280

0 commit comments

Comments
 (0)