From 051731d11043d2efab9f1af91bc9e5811f87ab76 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sun, 8 Feb 2026 17:47:44 +0000 Subject: [PATCH] feat(zsh): add iTerm2 shell integration support Source iTerm2 shell integration script when available, enabling features like marks, badges, and status bar integration. Co-Authored-By: Claude Opus 4.6 --- zsh/iterm2.zsh | 7 +++++++ zshrc | 1 + 2 files changed, 8 insertions(+) create mode 100644 zsh/iterm2.zsh diff --git a/zsh/iterm2.zsh b/zsh/iterm2.zsh new file mode 100644 index 0000000..5b2e087 --- /dev/null +++ b/zsh/iterm2.zsh @@ -0,0 +1,7 @@ +# +# iTerm2 environment setup. +# + +if [ -f "${HOME}/.iterm2_shell_integration.zsh" ]; then + source "${HOME}/.iterm2_shell_integration.zsh" +fi diff --git a/zshrc b/zshrc index b081b28..a64a31c 100644 --- a/zshrc +++ b/zshrc @@ -334,6 +334,7 @@ source "$DOTZSH/nix.zsh" source "$DOTZSH/restish.zsh" source "$DOTZSH/tldr.zsh" source "$DOTZSH/tmux.zsh" +source "$DOTZSH/iterm2.zsh" source "$DOTZSH/vscode.zsh" source "$DOTZSH/zoxide.zsh"