#!/bin/bash SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" for f in $(find $SCRIPT_DIR -mindepth 1 -name ".*" -not -name ".git"); do ln -sf $f ~/ done