diff --git a/home/dot_local/bin/symlink_idea.sh.tmpl b/home/dot_local/bin/symlink_idea.sh.tmpl index 203b21c4..e6e7fa68 100644 --- a/home/dot_local/bin/symlink_idea.sh.tmpl +++ b/home/dot_local/bin/symlink_idea.sh.tmpl @@ -1,3 +1,5 @@ -{{- if and (eq .host.distro.family "darwin") (stat "/Applications/IntelliJ IDEA CE.app/Contents/MacOS/idea") -}} -/Applications/IntelliJ IDEA CE.app/Contents/MacOS/idea +{{- if (eq .host.distro.family "darwin") -}} +/Applications/IntelliJ\ IDEA\ CE.app/Contents/MacOS/idea +{{- else if eq .host.distro.family "linux" -}} +/snap/intellij-idea-community/current/bin/idea.sh {{- end -}} \ No newline at end of file