Skip to content

Instantly share code, notes, and snippets.

@MRDGH2821
Last active July 22, 2024 08:21
Show Gist options
  • Save MRDGH2821/614a6e8c7e0a6a73dbd7f2f7be07bf93 to your computer and use it in GitHub Desktop.
Save MRDGH2821/614a6e8c7e0a6a73dbd7f2f7be07bf93 to your computer and use it in GitHub Desktop.
Installs Oh My Posh in linux OS with random theme loader config
#!/usr/bin/env bash
mkdir -p ~/bin
# Random theme loader
curl -s https://gist.githubusercontent.com/MRDGH2821/47294f0c61f3c9f061e8ffd28e1a538b/raw/6ba2e9436e5ef3b341485bbd3ac12678d650444a/oh-my-posh-random.sh >> ~/.bashrc
# Add ~/bin to path
export PATH=~/bin:$PATH
curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
oh-my-posh font install Meslo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment