Further tidying and making

This commit is contained in:
2020-02-25 21:09:30 +00:00
committed by Andrejus
parent 549d6ce88d
commit c4ce39b965
15 changed files with 101 additions and 68 deletions

View File

@@ -5,10 +5,7 @@
#
# 1. git dotfiles are symlinked
target="$HOME"
for file in $(ls -d $script_dir/git/*); do
rel_path=$(realpath --relative-to="$target" "$file")
printf "Linking $file to $target as $rel_path...\n"
ln -sv $rel_path $target
done
readonly git_source="$dotfiles_dir/git/*"
readonly git_target="$HOME"
link_folder $git_source $git_target
printf "git dotfiles linked\n"