A visually appealing theme for Oh My Posh, photoelectric.omp.json
is inspired by the amazing themes already included with Oh My Posh. It is designed for use with wezterm
, JetBrains Mono Nerd Font
, and zsh
.
Follow these installation steps:
-
After installing Oh My Posh, download
photoelectric.omp.json
and place it in a directory of your choice (e.g.,$HOME/.omp_themes/
). -
In your terminal's configuration file (e.g.,
~/.zshrc
), add the following:
# Oh My Posh
if [ "$TERM_PROGRAM" != "Apple_Terminal" ]; then
eval "$(oh-my-posh init zsh --config $HOME/.omp_themes/photoelectric.omp.json)"
fi
- Reload the configuration file:
source ~/.zshrc
Note
WezTerm includes Nerd Fonts by default. If you want to use VS Code's integrated terminal, follow the steps below to ensure compatibility.
To ensure the theme is fully compatible with the VS Code integrated terminal, install and set a font from Nerd Fonts.
- After installing the font, update your VS Code
settings.json
with your installed font as follows:
{
"editor.fontFamily": "JetBrainsMono Nerd Font",
"editor.fontLigatures": true
}