zsh: disable completions when a comment is started, change comment highlight style

fix-ci
bretello 2023-12-21 16:11:23 +01:00
parent f9e4a2c224
commit 439f29318c
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,7 @@ elif [[ "$(command -v apt-get)" ]]; then
antibody bundle robbyrussell/oh-my-zsh path:plugins/debian
fi
ZSH_HIGHLIGHT_STYLES[comment]='fg=gray,bg=white,bold'
ZSH_HIGHLIGHT_STYLES[comment]='fg=white,bg=gray,bold'
# Setup oh-my-zsh path
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
@ -78,6 +78,7 @@ export SAVEHIST=10000000
# zsh-autosuggestions config
export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
export ZSH_AUTOSUGGEST_COMPLETION_IGNORE='* \#*' # prevent completion for comments
# less options
export LESS='-xRF-j12' # -j12: displays 12 lines before search results with / and ?