mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2026-11-28 03:13:03 +01:00
- eval `zsh-patina activate` when installed, else print install URL - ZSH_PATINA_BINARY overrides the binary path, eg: ~/.cargo/bin - skip with a warning when zsh-syntax-highlighting is enabled - modeled on the zoxide plugin
zsh-patina plugin
Initializes zsh-patina, a "blazingly fast Zsh plugin performing syntax highlighting of your command line while you type 🌈"
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.