|
|
@@ -17,8 +17,8 @@ overwrite_local() { |
|
|
|
return 1; |
|
|
|
fi |
|
|
|
case "$1" in |
|
|
|
configs) cp -r "$BACKUPS_PATH/$1/$2" "$XDG_CONFIG_HOME/$2";; |
|
|
|
macros) cp -r "$BACKUPS_PATH/$1/$2" "$HOME/Macros/$2";; |
|
|
|
configs) cp -r "$BACKUPS_PATH/$1/$2" "$XDG_CONFIG_HOME/";; |
|
|
|
macros) cp -r "$BACKUPS_PATH/$1/$2" "$HOME/Macros/";; |
|
|
|
*) invalid_path_msg "$1"; return 1;; |
|
|
|
esac |
|
|
|
printf "local overwrite successful\n" |
|
|
|