diff options
| author | jdhao <jdhao@hotmail.com> | 2022-06-27 23:34:23 +0800 |
|---|---|---|
| committer | jdhao <jdhao@hotmail.com> | 2022-06-27 23:34:23 +0800 |
| commit | 921fd172211a5cf86cd39e15105c8e7d302b492c (patch) | |
| tree | 88cfdd88c8c98b44980d239b9de2c0d7f1be4039 /docs/nvim_install_mac.sh | |
| parent | 81696c9e13627ae04bebfca91728f3c9f18effcd (diff) | |
update macos install script
Diffstat (limited to 'docs/nvim_install_mac.sh')
| -rw-r--r-- | docs/nvim_install_mac.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/nvim_install_mac.sh b/docs/nvim_install_mac.sh index 043fe32..ef698c8 100644 --- a/docs/nvim_install_mac.sh +++ b/docs/nvim_install_mac.sh @@ -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 |
