Source

dotfiles / setup_links_mac.sh

Mike Steder 70ccd32 










#!/bin/bash

echo "Setting up dotfiles: ..."
LINK_DIR=`cd $(dirname "$0"); pwd`
echo "Linking from: $LINK_DIR"
echo "Linking to: $HOME"

for file in $LINK_DIR/*
do
    echo "ln -ins $file ~/.$(basename $file)"
    ln -ins $file ~/.$(basename $file)
done