From: Svjatoslav Agejenko Date: Sat, 3 Aug 2019 09:16:49 +0000 (+0300) Subject: Improved IntelliJ startup script. X-Git-Tag: javainspect-1.7~8 X-Git-Url: http://www2.svjatoslav.eu/gitweb/?a=commitdiff_plain;h=4791a0166af850c12fe0d216c2c7db8848830dc8;p=javainspect.git Improved IntelliJ startup script. --- diff --git a/tools/open with IntelliJ IDEA b/tools/open with IntelliJ IDEA index b8baee2..de9bae5 100755 --- a/tools/open with IntelliJ IDEA +++ b/tools/open with IntelliJ IDEA @@ -1,6 +1,18 @@ #!/bin/bash -cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi; +# +# 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