A simple Oh-My-Zsh plugin that checks if Nerd Fonts are installed and offers to install them automatically. Perfect for shell configurations that require Nerd Fonts (like Powerlevel10k, Starship, etc.).
git clone https://github.com/delorenj/nerd-font-check ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/nerd-font-check
.zshrc
:plugins=(... nerd-font-check)
To automatically check for fonts when your shell starts:
# Add to your .zshrc export NERD_FONT_CHECK_AUTO=1
You can manually check for fonts:
# Check for default font (Hack) nerd_font_check # Check for a specific font nerd_font_check "JetBrains Mono"
You can configure the default font by setting:
# Add to your .zshrc export NERD_FONT_CHECK_DEFAULT_FONT="JetBrains Mono"
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE for details.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4