IntelliJ cannot start from invisible Bash script for some reason.
[imagesqueeze.git] / 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 .