diff --git a/.rc.d/iterm2.sh b/.rc.d/iterm2.sh new file mode 100644 index 0000000..a2577ae --- /dev/null +++ b/.rc.d/iterm2.sh @@ -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 +}