mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-21 19:11:30 +01:00
zsh: disable completions when a comment is started, change comment highlight style
This commit is contained in:
parent
f9e4a2c224
commit
439f29318c
|
@ -34,7 +34,7 @@ elif [[ "$(command -v apt-get)" ]]; then
|
||||||
antibody bundle robbyrussell/oh-my-zsh path:plugins/debian
|
antibody bundle robbyrussell/oh-my-zsh path:plugins/debian
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ZSH_HIGHLIGHT_STYLES[comment]='fg=gray,bg=white,bold'
|
ZSH_HIGHLIGHT_STYLES[comment]='fg=white,bg=gray,bold'
|
||||||
|
|
||||||
# Setup oh-my-zsh path
|
# Setup oh-my-zsh path
|
||||||
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
|
export ZSH="$(antibody path robbyrussell/oh-my-zsh)"
|
||||||
|
@ -78,6 +78,7 @@ export SAVEHIST=10000000
|
||||||
|
|
||||||
# zsh-autosuggestions config
|
# zsh-autosuggestions config
|
||||||
export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
export ZSH_AUTOSUGGEST_STRATEGY=(history completion)
|
||||||
|
export ZSH_AUTOSUGGEST_COMPLETION_IGNORE='* \#*' # prevent completion for comments
|
||||||
|
|
||||||
# less options
|
# less options
|
||||||
export LESS='-xRF-j12' # -j12: displays 12 lines before search results with / and ?
|
export LESS='-xRF-j12' # -j12: displays 12 lines before search results with / and ?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user