summarylogtreecommitdiffstats
path: root/zed.sh
diff options
context:
space:
mode:
authorJon Gjengset2014-04-10 18:24:06 +0100
committerJon Gjengset2015-06-08 11:35:01 -0400
commit83032a1abd0654acec721cad014d7d43b98d4d4c (patch)
tree6d2a21e24973b29922025d4c024231400da54096 /zed.sh
downloadaur-83032a1abd0654acec721cad014d7d43b98d4d4c.tar.gz
First commit
Diffstat (limited to 'zed.sh')
-rwxr-xr-xzed.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/zed.sh b/zed.sh
new file mode 100755
index 000000000000..ada3810fcc4f
--- /dev/null
+++ b/zed.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+if [[ $1 == http://* ]] || [[ $1 == https://* ]]; then
+ PROJECT=$1
+elif [ "" != "$1" ]; then
+ PROJECT=$(readlink -f $1)
+fi
+
+nw /usr/share/zed-git/app.nw/ $PROJECT 2> /dev/null