install.fairie/home/dot_config/shell/iterm/symlink_iterm2.bash.tmpl
2024-01-03 02:15:50 +00:00

5 lines
No EOL
419 B
Cheetah

{{- if stat (joinPath .chezmoi.homeDir "Applications" "iTerm.app" "Contents" "Resources" "iterm2_shell_integration.bash") -}}
{{ .chezmoi.homeDir }}/Applications/iTerm.app/Contents/Resources/iterm2_shell_integration.bash
{{- else if stat (joinPath "Applications" "iTerm.app" "Contents" "Resources" "iterm2_shell_integration.bash") -}}
/Applications/iTerm.app/Contents/Resources/iterm2_shell_integration.bash
{{- end -}}