Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 15 lines (11 sloc) 0.34 kb
e58e854 @mislav rewrite install script in bash
authored
1 #!/usr/bin/env bash
2 set -e
3
4 here="$(dirname "$0")"
5 here="$(cd "$here"; pwd)"
6
7 for file in "$here"/*; do
8 name="$(basename "$file" .md)"
9 [[ $name = bin ]] && dotname="$name" || dotname=".${name}"
10
11 if [[ !( "install readme" =~ $name || -e ~/$dotname || -d $file/.git ) ]]; then
12 ln -sfhv ${file#$HOME/} "${HOME}/${dotname}"
13 fi
14 done
Something went wrong with that request. Please try again.