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/bash | |
# This script updates Neovim to the latest nightly AppImage version. | |
# It automatically fetches the latest AppImage URL from the Neovim GitHub releases, | |
# downloads it, makes it executable, and moves it to /usr/bin/nvim. | |
# If the URL cannot be determined automatically, it prompts the user to provide it manually. | |
url=$(curl -s https://api.github.com/repos/neovim/neovim/releases/tags/nightly \ | |
| grep "browser_download_url" \ | |
| grep "nvim-linux-x86_64.appimage" \ | |
| grep -v "zsync" \ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |