config(zsh): disable zsh-syntax-highlighting for path and globbing
Also enable auto_cd option.main
parent
42ba369910
commit
1b681063f8
|
@ -21,6 +21,10 @@ export LESS="-RF -i -K -s -x2 --wordwrap"
|
|||
# https://github.com/zsh-users/zsh-syntax-highlighting
|
||||
if [[ -f /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]]; then
|
||||
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||
|
||||
typeset -A ZSH_HIGHLIGHT_STYLES
|
||||
ZSH_HIGHLIGHT_STYLES[path]='none'
|
||||
ZSH_HIGHLIGHT_STYLES[globbing]='none'
|
||||
fi
|
||||
|
||||
# https://github.com/zsh-users/zsh-autosuggestions
|
||||
|
|
|
@ -12,6 +12,7 @@ export HISTSIZE=100000000
|
|||
export SAVEHIST=$HISTSIZE
|
||||
|
||||
# https://zsh.sourceforge.io/Doc/Release/Options.html
|
||||
setopt AUTO_CD
|
||||
setopt HIST_EXPIRE_DUPS_FIRST
|
||||
setopt HIST_FIND_NO_DUPS
|
||||
setopt HIST_IGNORE_ALL_DUPS
|
||||
|
|
Loading…
Reference in New Issue