dotfiles/setup.sh
2011-12-13 10:25:25 +01:00

15 lines
316 B
Bash
Executable file

#!/bin/sh
for dotfile in *; do
case "${dotfile}" in
Makefile|*.md|LICENSE|setup.sh)
# NOOP
;;
*)
# link the file with a leading dot
echo "linking ${dotfile}"
ln -sf "$(pwd)/${dotfile}" "$HOME/.${dotfile}"
;;
esac
done