Adds iTerm2 shell integration script.

This commit is contained in:
Tom Hicks
2024-09-20 17:02:17 -07:00
parent bbaaeb72c2
commit 2f37a4178f

6
.rc.d/iterm2.sh Normal file
View File

@@ -0,0 +1,6 @@
function {
local script_path="$HOME/.iterm2_shell_integration.zsh"
if [ "$TERM_PROGRAM" = "iTerm.app" -a -e "$script_path" ]; then
source "$script_path"
fi
}