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

index 3d2d379..de9bae5 100755 (executable)
@@ -8,12 +8,11 @@
 #
 # Script assumes:
 #
-#    + GNU operating system 
-#    + GNOME desktop environment 
+#    + GNU operating system
 #    + IntelliJ is installed and commandline launcher "idea" is enabled.
 #
 
-cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
-
+cd "${0%/*}"
 cd ..
-idea .
+
+setsid idea . &>/dev/null