From 1d06b310f2e62fbeeab4cdced5f670c500afbd11 Mon Sep 17 00:00:00 2001
From: Case Duckworth
Date: Wed, 26 Jun 2024 12:29:27 -0500
Subject: Fix link target

---
 dots.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dots.sh b/dots.sh
index e2439f0..9a31d99 100755
--- a/dots.sh
+++ b/dots.sh
@@ -74,7 +74,7 @@ homify() {
 dotify() {
 	getfiles "$@" |
 		while read -r file
-		do mklink "$file" "$DIR/${file#.}"
+		do mklink "$file" "$DIR/${file##*/.}"
 		done
 }
 
-- 
cgit 1.4.1-21-gabe81