15 lines
468 B
Bash
15 lines
468 B
Bash
PLUGINS=(zsh-autosuggestions zsh-syntax-highlighting zsh-history-substring-search)
|
|
|
|
if ! [[ $TERM == "dumb" ]]; then
|
|
# Don't load if running in dumb terminal, they don't work properly
|
|
for plugin in $PLUGINS; do
|
|
source $HOME/.local/lib/zsh/$plugin/$plugin.zsh
|
|
done
|
|
|
|
ZSH_HIGHLIGHT_STYLES[single-hyphen-option]="fg=blue"
|
|
ZSH_HIGHLIGHT_STYLES[double-hyphen-option]="fg=blue"
|
|
|
|
bindkey '^P' history-substring-search-up
|
|
bindkey '^N' history-substring-search-down
|
|
fi
|