Commit fb84a2d7 authored by Pierre-antoine Comby's avatar Pierre-antoine Comby
Browse files

link the folder, not their content.

parent f75c59b6
......@@ -8,7 +8,7 @@ fi
# Change dir to files location in repo, in case script was called from somewhere else
cd "$(dirname "$0")"
filesdir="$(pwd)/files"
filesdir="$(pwd)/files/"
# Recursively create symlinks
cp -TdRbs "$filesdir" "$HOME"
# ln -vsf "$filesdir/.*" "$HOME"
find "$filesdir" -maxdepth 1 -mindepth 1| while read file; do ln -sf "$file" "$HOME/"; done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment