mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Add update script for macOS
This commit is contained in:
parent
42c564019e
commit
36fa9f91e1
17
docs/nvim_install_mac.sh
Normal file
17
docs/nvim_install_mac.sh
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
set -eux
|
||||||
|
|
||||||
|
wget https://hub.fastgit.org/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz
|
||||||
|
|
||||||
|
if [[ ! -d "$HOME/tools/" ]]; then
|
||||||
|
mkdir -p "$HOME/tools"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Delete existing nvim installation.
|
||||||
|
if [[ -d $HOME/tools/nvim-osx64/ ]]; then
|
||||||
|
rm -rf $HOME/tools/nvim-osx64
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Extract the tar ball
|
||||||
|
tar zxvf nvim-macos.tar.gz -C $HOME/tools
|
||||||
|
|
||||||
|
rm nvim-macos.tar.gz
|
||||||
Loading…
x
Reference in New Issue
Block a user