Skip to content

Commit

Permalink
Enable VS Code Shell Integration
Browse files Browse the repository at this point in the history
At least in simplified mode, as it's the supported option for now.

Refs microsoft/vscode#153400
  • Loading branch information
felipecrs committed Jul 11, 2022
1 parent 641b6e8 commit 296b188
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions home/dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,10 @@ fpath+="${ZSH_CUSTOM:-"$ZSH/custom"}/plugins/zsh-completions/src"

source "$ZSH/oh-my-zsh.sh"

# https://github.com/microsoft/vscode/issues/153400#issue-1286534600
if [[ "$TERM_PROGRAM" == "vscode" ]]; then
ITERM_SHELL_INTEGRATION_INSTALLED="Yes"
fi

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

0 comments on commit 296b188

Please sign in to comment.