This commit is contained in:
Wenwen Zhang 2024-06-02 11:33:04 +08:00
parent eb57cdedcd
commit 4ead469aaa

View File

@ -12,9 +12,9 @@ echo "NeoVim Configuration Installation Script is Running..."
cd ~
CONFIGBASE = "myconfig.nvim"
CONFIGBASE="myconfig.nvim"
CONFIG_DIR = ".config"
CONFIG_DIR=".config"
TIMESTAMP=$(date "+%Y-%m-%d_%H:%M:%S")
@ -32,7 +32,7 @@ else
fi
fi
NVIM_LOCAL_SHARE = "${XDG_DATA_HOME:-$HOME/.local/share}"
NVIM_LOCAL_SHARE="${XDG_DATA_HOME:-$HOME/.local/share}"
if [ -d "$NVIM_LOCAL_SHARE/nvim" ]; then
mv $NVIM_LOCAL_SHARE/nvim $NVIM_LOCAL_SHARE/nvim_BACKUP_$TIMESTAMP