summarylogtreecommitdiffstats
path: root/zed.sh
blob: ada3810fcc4f23032196727f97220d43378c5e7d (plain)
1
2
3
4
5
6
7
8
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