IntelliJ cannot start from invisible Bash script for some reason.
authorSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 3 Aug 2019 07:46:13 +0000 (10:46 +0300)
committerSvjatoslav Agejenko <svjatoslav@svjatoslav.eu>
Sat, 3 Aug 2019 07:46:13 +0000 (10:46 +0300)
tools/open with IntelliJ IDEA

index 1f82875..b8baee2 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-cd "${0%/*}"
+cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
 
 cd ..
 idea .