Skip to content

Instantly share code, notes, and snippets.

@BraINstinct0
Last active December 8, 2022 10:19
Show Gist options
  • Save BraINstinct0/7624d58eee2917267e6f1ba79571dd90 to your computer and use it in GitHub Desktop.
Save BraINstinct0/7624d58eee2917267e6f1ba79571dd90 to your computer and use it in GitHub Desktop.
Oh My Posh install & update script for AMD64-based linux
echo "Installing 'Oh My Posh'..."
sudo wget https://www.github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh
echo "Oh My Posh installation complete. Version:"
oh-my-posh --version
echo "Current version of 'Oh My Posh':"
oh-my-posh --version
sudo wget https://www.github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh
sudo chmod +x /usr/local/bin/oh-my-posh
echo "Oh My Posh updated to following version:"
oh-my-posh --version
@BraINstinct0
Copy link
Author

Added Installer

@BraINstinct0
Copy link
Author

TO DO

  • Incorporate winget upgrade "JanDeDobbeleer.OhMyPosh" to update both Windows & wsl OhMyPosh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment