diff options
author | Case Duckworth | 2024-06-26 12:37:15 -0500 |
---|---|---|
committer | Case Duckworth | 2024-06-26 12:37:15 -0500 |
commit | da16a3baf901b68fdd7597e5b7c582ca82546bae (patch) | |
tree | e5bf48144cbe3753eee64899fef709ad2e636887 | |
parent | EXWM (diff) | |
download | dots-da16a3baf901b68fdd7597e5b7c582ca82546bae.tar.gz dots-da16a3baf901b68fdd7597e5b7c582ca82546bae.zip |
Actually fix linking
-rwxr-xr-x | dots.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/dots.sh b/dots.sh index 9a31d99..c312cb1 100755 --- a/dots.sh +++ b/dots.sh | |||
@@ -74,7 +74,10 @@ homify() { | |||
74 | dotify() { | 74 | dotify() { |
75 | getfiles "$@" | | 75 | getfiles "$@" | |
76 | while read -r file | 76 | while read -r file |
77 | do mklink "$file" "$DIR/${file##*/.}" | 77 | do |
78 | lf="${file##$HOME/}" # remove $HOME | ||
79 | lf="${lf#.}" # remove starting dot | ||
80 | mklink "$file" "$DIR/$lf" | ||
78 | done | 81 | done |
79 | } | 82 | } |
80 | 83 | ||