mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-28 11:23:03 +01:00
1.0 KiB
1.0 KiB
zsh-patina plugin
Initializes zsh-patina, a "blazingly fast Zsh plugin performing syntax highlighting of your command line while you type 🌈"
The plugin also caches completions for the zsh-patina command in
$ZSH_CACHE_DIR/completions/_zsh-patina, refreshed each time the plugin loads.
To use it, add zsh-patina to the plugins array in your .zshrc file:
plugins=(... zsh-patina)
zsh-patina replaces zsh-syntax-highlighting, so enable only one of them. If zsh-syntax-highlighting is in the plugins array or already loaded, this plugin prints a warning and does not activate.
Binary location
If zsh-patina is not in your PATH when Oh My Zsh loads (eg: it lives in
~/.cargo/bin), set ZSH_PATINA_BINARY to its full path before sourcing
Oh My Zsh:
ZSH_PATINA_BINARY=$HOME/.cargo/bin/zsh-patina
Note: you have to install zsh-patina first.