Last active
September 19, 2024 17:46
-
-
Save milnak/51c118e21f75052603b9349b8b7eced3 to your computer and use it in GitHub Desktop.
oh-my-posh configuration
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
# ___ _ | |
# | _ \_ _ ___ _ __ _ __| |_ | |
# | _/ '_/ _ \ ' \| '_ \ _| | |
# |_| |_| \___/_|_|_| .__/\__| | |
# |_| | |
# Install oh-my-posh (to ~/bin): | |
# curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin | |
# Download the themes: | |
# mkdir ~/.poshthemes; cd ~/.poshthemes | |
# curl -LO https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/themes.zip | |
# unzip themes.zip; rm themes.zip | |
# In putty, set font (Window > Appearance) to "FiraMono Nerd Font" from https://www.nerdfonts.com/ | |
eval "$(oh-my-posh completion bash)" | |
POSH_THEME=$(find ~/.poshthemes -maxdepth 2 -name '*.omp.json' | shuf --head-count=1) | |
echo "POSH_THEME: $POSH_THEME" | |
eval "$(oh-my-posh init bash --config $POSH_THEME)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment