Improved IntelliJ startup script.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 3 Aug 2019 09:16:50 +0000 (12:16 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 3 Aug 2019 09:16:50 +0000 (12:16 +0300)
tools/open with IntelliJ IDEA

index 1f82875..de9bae5 100755 (executable)
@@ -1,6 +1,18 @@
 #!/bin/bash
 
-cd "${0%/*}"
+#
+# This is a helper bash script that starts IntelliJ with the current project.
+# Script is written is such a way that you can simply click on it in file
+# navigator to run it.
+#
+#
+# Script assumes:
+#
+#    + GNU operating system
+#    + IntelliJ is installed and commandline launcher "idea" is enabled.
+#
 
+cd "${0%/*}"
 cd ..
-idea .
+
+setsid idea . &>/dev/null