From 0e8d9756ac402af45d1293534835a4d76f90aafb Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sat, 23 Dec 2023 11:13:35 +0000 Subject: [PATCH] Manually merging PR for idea.sh --- home/dot_local/bin/symlink_idea.sh.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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