Skip to content

Commit

Permalink
Add workaround for p10k resizing issue on VS Code
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Apr 1, 2024
1 parent a89755e commit 81a8afb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions home/dot_zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ 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"
# Helps with the following, but only in VS Code terminal
# https://github.com/romkatv/powerlevel10k/blob/da9b03777c4f2390c7e3f5c720ee4689336f811b/README.md#horrific-mess-when-resizing-terminal-window
POWERLEVEL9K_TERM_SHELL_INTEGRATION="true"
fi

# Fix kubectl completion with kubecolor
Expand Down

0 comments on commit 81a8afb

Please sign in to comment.