Skip to content

Instantly share code, notes, and snippets.

@brainplot
Created January 24, 2021 10:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainplot/d44f632c0622ec008710c3b9ceccbe46 to your computer and use it in GitHub Desktop.
Save brainplot/d44f632c0622ec008710c3b9ceccbe46 to your computer and use it in GitHub Desktop.
Fetch latest neovim nigthly for MacOS
#!/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