add launch script
authorBenjamin Doumenc <big.clop@gmail.com>
Tue, 16 Apr 2013 14:53:55 +0000 (16:53 +0200)
committerBenjamin Doumenc <big.clop@gmail.com>
Tue, 16 Apr 2013 14:53:55 +0000 (16:53 +0200)
vim/launchProjectVim.sh [new file with mode: 0755]

diff --git a/vim/launchProjectVim.sh b/vim/launchProjectVim.sh
new file mode 100755 (executable)
index 0000000..e88446d
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+source "$HOME/.customBashrc"
+       
+cmd=`ls $HOME/sources | dmenu -i -p "Select Project " -nf '#888888' -nb '#222222' -sf '#ffffff' -sb '#285577'`
+
+if [ ! -z $cmd ]; then
+       setTvmProject $cmd
+       exec gvim .
+fi
+