1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

update macos install script

This commit is contained in:
jdhao 2022-06-27 23:34:23 +08:00
parent 81696c9e13
commit 921fd17221

View File

@ -9,8 +9,9 @@ if [[ ! -d "$HOME/tools/" ]]; then
fi
# Delete existing nvim installation.
if [[ -d "$HOME/tools/nvim-osx64" ]]; then
rm -rf "$HOME/tools/nvim-osx64"
# For newer release, the directory name is nvim-macos
if [[ -d "$HOME/tools/nvim-macos" ]]; then
rm -rf "$HOME/tools/nvim-macos"
fi
# Extract the tar ball