summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
diff --git a/init b/init
index a1bedac..13fb9da 100755
--- a/init
+++ b/init
@@ -5,7 +5,7 @@ set homedirs dot-config dot-local-bin
for dir in $homedirs
set -l target_base $HOME/(string replace '-' '/' (string replace -r '^dot-' '.' $dir))
- for file in (find $dir -type f)
+ for file in (find -L $dir -type f)
set -l src "$(pwd)/$file"
set -l dst (string replace -r "^$dir/" "$target_base/" $file)
if [ -L $dst -a "$(readlink $dst)" = $src ]