IntelliJ launcher script description.
[meviz.git] / tools / open with IntelliJ IDEA
1 #!/bin/bash
2
3 #
4 # This is a helper bash script that starts IntelliJ with the current project.
5 # Script is written is such a way that you can simply click on it in file
6 # navigator to run it.
7 #
8 #
9 # Script assumes:
10 #
11 #    + GNU operating system 
12 #    + GNOME desktop environment 
13 #    + IntelliJ is installed and commandline launcher "idea" is enabled.
14 #
15
16 cd "${0%/*}"; if [ "$1" != "T" ]; then gnome-terminal -e "'$0' T"; exit; fi;
17
18 cd ..
19 idea .