No description
| mac.laptop.omp.json | ||
| primary.ubuntu.omp.json | ||
| README.md | ||
| rpi.raspberrypi.omp.json | ||
| runner.ubuntu.omp.json | ||
Oh My Posh themes
Small, device-oriented Oh My Posh themes with Nerd Font platform and machine icons.
| Theme | Icon pair | Colors |
|---|---|---|
mac.laptop.omp.json |
Apple + laptop | white + aqua |
primary.ubuntu.omp.json |
Ubuntu + server | white + indigo |
runner.ubuntu.omp.json |
Ubuntu + server | white + sage |
rpi.raspberrypi.omp.json |
Raspberry Pi + compact computer | white + Raspberry Pi red |
Quick setup
-
Install Oh My Posh on the machine that runs the shell.
-
Configure the terminal application on the client device to use a Nerd Font. The icons are rendered by the terminal client, including when connected over SSH. FiraCode Nerd Font is a good choice.
-
Download one theme (replace
THEMEwith a filename from the table):mkdir -p ~/.poshthemes curl -fsSL \ "https://git.corebot.ca/CoreBotLabs/omp-themes/raw/branch/main/THEME" \ -o "$HOME/.poshthemes/THEME" -
Add exactly one matching initialization line to the interactive shell startup file.
Zsh (
~/.zshrc):eval "$(oh-my-posh init zsh --config ~/.poshthemes/THEME)"Bash (
~/.bashrc):eval "$(oh-my-posh init bash --config ~/.poshthemes/THEME)" -
Open a new terminal session, or reload the relevant file:
exec "$SHELL"
The themes show the current username and path dynamically; no hostnames, addresses, credentials, or tokens are stored in them.