diff --git a/install.bash b/install.bash index 74cde04..53e2a1d 100644 --- a/install.bash +++ b/install.bash @@ -30,7 +30,7 @@ if [[ ! -d "${HOME}/.config" ]]; then fi if [[ -d "${NVIM_CONF_PATH}" ]]; then - backup_nvim_conf_path="${HOME}/.conf/$(basename "${NVIM_CONF_PATH}")-$(date +%Y-%m-%dT%H:%M:%S)" + backup_nvim_conf_path="${DOT_CONFIG_PATH}/$(basename "${NVIM_CONF_PATH}")-$(date +%Y-%m-%dT%H:%M:%S)" echo "Backing up ${NVIM_CONF_PATH} to ${backup_nvim_conf_path}" mv "${NVIM_CONF_PATH}" "${backup_nvim_conf_path}" fi