From b9500c854be7d64037f98daf3b03289f4fb1030b Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sat, 3 Aug 2019 12:18:22 +0300 Subject: [PATCH] Improved IntelliJ startup script. --- tools/open with IntelliJ IDEA | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) 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 -- 2.20.1