diff options
| author | Sylvain Herlédan <sylvain.herledan@hrafnagud.info> | 2018-09-01 20:45:42 +0200 |
|---|---|---|
| committer | Sylvain Herlédan <sylvain.herledan@hrafnagud.info> | 2018-09-01 20:45:42 +0200 |
| commit | baa3ce0c68e283791275162259112634d6fbb401 (patch) | |
| tree | 0c919fc6450d501862b283eee3444b4b5e0848dc /zshrc | |
| parent | 9970124cc496a05f278cc17a3fb328a064c4fc2b (diff) | |
| download | dotfiles-baa3ce0c68e283791275162259112634d6fbb401.tar.gz dotfiles-baa3ce0c68e283791275162259112634d6fbb401.tar.bz2 dotfiles-baa3ce0c68e283791275162259112634d6fbb401.zip | |
Add ZSH on-the-fly highlighting.
Diffstat (limited to 'zshrc')
| -rw-r--r-- | zshrc | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -2,9 +2,20 @@ # ----------------------------------------------------------------------------- ZSH="${HOME}/.local/tools/oh-my-zsh" ZSH_THEME="nanotech" -plugins=(git archlinux gnu-utils pip python ssh-agent) +plugins=(git archlinux gnu-utils pip python ssh-agent zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh +# Highlighting configuration +ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) +ZSH_HIGHLIGHT_STYLES[alias]=none +ZSH_HIGHLIGHT_STYLES[builtin]=none +ZSH_HIGHLIGHT_STYLES[command]=none +ZSH_HIGHLIGHT_STYLES[hashed-command]=none +ZSH_HIGHLIGHT_STYLES[function]=fg=034,bold +ZSH_HIGHLIGHT_STYLES[reserved-word]=fg=105 +ZSH_HIGHLIGHT_STYLES[path]=none +ZSH_HIGHLIGHT_STYLES[bracket-level-1]=fg=yellow,bold} + source "${HOME}/.local/config/aliases" source "${HOME}/.config/user-dirs.dirs" |
