Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 22 lines (18 sloc) 410 Bytes
#!/bin/bash
for f in *; do
BASE=`basename $f`;
CWD=`pwd`
# Don't link install script or dotfiles
if [[ ("${BASE:0:1}" == ".")]]; then
continue
fi
# Don't link install the readme :)
if [[ "${BASE}" == "README.md" ]]; then
continue
fi
# Don't link install the brewfile :)
if [[ "${BASE}" == "brewfile" ]]; then
continue
fi
ln -sin "${CWD}/${BASE}" "${HOME}/.${BASE}"
done