feat: use softlink for zsh configs
This commit is contained in:
parent
f42f6c0f2a
commit
58895d5f30
@ -158,9 +158,9 @@ deploy-config() {
|
||||
continue
|
||||
fi
|
||||
|
||||
log "info" "Copying ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}"
|
||||
if ! cp -r "${src_path}" "${dest_path}"; then
|
||||
log "error" "Failed copying ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}"
|
||||
log "info" "Linking ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}"
|
||||
if ! ln -s "${src_path}" "${dest_path}"; then
|
||||
log "error" "Failed linking ${GREEN}${install_key}${RESET_BOLD}, ${GREEN}${src_path}${RESET_BOLD} to ${GREEN}${dest_path}${RESET_BOLD}"
|
||||
return 1
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user