diff --git a/home/.chezmoiexternal.toml.tmpl b/home/.chezmoiexternal.toml.tmpl index 0ce99e2b..9f3173fa 100644 --- a/home/.chezmoiexternal.toml.tmpl +++ b/home/.chezmoiexternal.toml.tmpl @@ -189,6 +189,12 @@ clone.args = ["--depth", "1"] pull.args = ["--ff-only"] +### iTerm2 Shell Integration +[".local/src/iterm2/shell-integration.sh"] + type = "file" + url = "https://iterm2.com/shell_integration/install_shell_integration.sh" + refreshPeriod = "{{ $refreshPeriod }}" + ### Ansible Roles / Playbook [".local/src/gas-station"] type = "git-repo" diff --git a/home/dot_config/shell/profile.sh.tmpl b/home/dot_config/shell/profile.sh.tmpl index 2e43f85d..7969b98f 100644 --- a/home/dot_config/shell/profile.sh.tmpl +++ b/home/dot_config/shell/profile.sh.tmpl @@ -124,6 +124,11 @@ fi # . "$HOME/.local/scripts/fzf-tmux.bash" #fi +### iTerm2 +if [ -f "$HOME/.local/src/iterm2/shell-integration.sh" ]; then + source "$HOME/.local/src/iterm2/shell-integration.sh" +fi + ### McFly export MCFLY_PROMPT="❯" if [ -d /Applications ] && [ -d /System ]; then