From a43ed9b6577f89a9c0420326e28318b05a0b66e1 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 25 Dec 2021 01:55:50 -0600 Subject: [PATCH] =?UTF-8?q?Correct=20pathing=20for=20backup=20=F0=9F=98=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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