mirror of
https://github.com/lloeki/dotfiles.git
synced 2025-12-06 07:24:39 +01:00
15 lines
307 B
Bash
Executable file
15 lines
307 B
Bash
Executable file
#!/bin/sh
|
|
|
|
for dotfile in *; do
|
|
case "${dotfile}" in
|
|
scripts|Makefile|*.md)
|
|
# NOOP
|
|
;;
|
|
*)
|
|
# link the file with a leading dot
|
|
echo "linking ${dotfile}"
|
|
ln -sf "$(pwd)/${dotfile}" "$HOME/.${dotfile}"
|
|
;;
|
|
esac
|
|
done
|
|
|