1
0
Fork 0
mirror of https://github.com/kou029w/dotfiles.git synced 2025-01-18 16:07:59 +00:00
dotfiles/install

13 lines
178 B
Text
Raw Normal View History

2021-08-14 18:01:30 +09:00
#!/bin/bash
set -euo pipefail
for dotfile in .*; do
[[ $dotfile =~ ^(\.\.?|\.git)$ ]] && continue
dotfile=$(realpath "$dotfile")
(
cd
ln -svf "$dotfile"
)
done