Created
March 6, 2024 20:09
-
-
Save gabrielbarros/84f834ea23266985a26845f228e87c7b to your computer and use it in GitHub Desktop.
Install and update diff-so-fancy
This file contains 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
#!/usr/bin/env bash | |
set -euo pipefail | |
echo 'Installing diff-so-fancy...' | |
curl -s https://api.github.com/repos/so-fancy/diff-so-fancy/releases/latest | \ | |
jq -r '.assets[].browser_download_url' | wget -i - | |
sudo mv diff-so-fancy /usr/local/bin | |
sudo chmod a+x /usr/local/bin/diff-so-fancy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment