Created
January 24, 2021 10:23
-
-
Save brainplot/d44f632c0622ec008710c3b9ceccbe46 to your computer and use it in GitHub Desktop.
Fetch latest neovim nigthly for MacOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ARCHIVE=nvim-macos.tar.gz | |
ARCHIVE_ROOT=nvim-osx64 | |
OUTPUT_DIR="$HOME/Documents/nvim" | |
UPSTREAM_URL='https://github.com/neovim/neovim/releases/download/nightly/nvim-macos.tar.gz' | |
curl -JOL "$UPSTREAM_URL" && | |
tar -xf "$ARCHIVE" && \ | |
rm -rf "$OUTPUT_DIR" && \ | |
mv -v "$ARCHIVE_ROOT" "$OUTPUT_DIR" && \ | |
rm -rf "$ARCHIVE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment