Last active
August 17, 2024 00:49
-
-
Save BraINstinct0/7624d58eee2917267e6f1ba79571dd90 to your computer and use it in GitHub Desktop.
Oh My Posh install & update script for AMD64-based linux
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
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 |
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
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 |
TO DO
- Incorporate
winget upgrade "JanDeDobbeleer.OhMyPosh"
to update both Windows &wsl
OhMyPosh
Thanks! Love this. You can also do scoop install/update oh-my-posh
for Windows, too.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Added Installer