Add iterm2 integration for macos

This commit is contained in:
2025-04-14 14:27:25 +08:00
parent 935da20ddf
commit 954ee8eadb
2 changed files with 186 additions and 0 deletions

View File

@@ -8,3 +8,11 @@ source $HOME/.profile
if whence kubectl > /dev/null && [ "$PROFILE_ENABLE_KUBECTL" ]; then
source <(kubectl completion zsh)
fi
# MacOS specific
if [ "$(uname)" = "Darwin" ]; then
if [ -f .iterm2_shell_integration ]; then
source .iterm2_shell_integration
fi
fi