Add role to install dotfiles and apply them

This commit is contained in:
2025-09-13 02:45:44 +02:00
parent 25dc798c0c
commit 54fb4d3262
3 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
set -e
git status --short | grep -E '^D|^R' | sed 's/...//;s/ -> .*//' | while read f
do
test -L "$HOME/$f" && rm "$HOME/$f"
done