]> git.rmz.io Git - dotfiles.git/commitdiff
launch the latest bundle
authorSamir Benmendil <samir.benmendil@gmail.com>
Fri, 18 Jan 2013 22:30:34 +0000 (23:30 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Fri, 18 Jan 2013 22:30:57 +0000 (23:30 +0100)
bin/launch-bundle [new file with mode: 0755]

diff --git a/bin/launch-bundle b/bin/launch-bundle
new file mode 100755 (executable)
index 0000000..1c03dc9
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+for TARGET in $HOME/.cinstall/launchers/${0##*/}*
+    do
+        USE_TARGET=$TARGET
+    done
+[ -x "$USE_TARGET" ] && $USE_TARGET || echo "Could not find ${0##*/} bundle"