We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7f1c56 commit 52be9b2Copy full SHA for 52be9b2
idea
@@ -1,2 +1,12 @@
1
#!/usr/bin/env bash
2
-open -na "IntelliJ IDEA.app" --args "$@"
+
3
+APP_DIR="$HOME/Applications"
4
+idea=
5
6
+if [[ -d "$APP_DIR/IntelliJ IDEA Ultimate.app" ]]; then
7
+ idea="$APP_DIR/IntelliJ IDEA Ultimate.app"
8
+elif [[ -d "$APP_DIR/IntelliJ IDEA.app" ]]; then
9
+ idea="$APP_DIR/IntelliJ IDEA.app"
10
+fi
11
12
+open -na "$idea" --args "$@"
0 commit comments