Further tidying and making
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user