zshrc: tweak completion options
This commit is contained in:
parent
81da12976e
commit
54bff9985c
13
.zshrc
13
.zshrc
|
@ -195,7 +195,16 @@
|
|||
if [ -e ~/.nix-profile/etc/profile.d/nix.sh ]; then . ~/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer...and kept by me
|
||||
eval "$(direnv hook zsh)"
|
||||
|
||||
zstyle ':completion:*:*:*:*:descriptions' format '%F{green}-- %d --%f'
|
||||
zstyle ':completion:*:*:*:*:corrections' format '%F{yellow}!- %d (errors: %e) -!%f'
|
||||
zstyle ':completion:*:messages' format ' %F{purple} -- %d --%f'
|
||||
zstyle ':completion:*:warnings' format ' %F{red}-- no matches found --%f'
|
||||
# zstyle ':completion:*' group-name ''
|
||||
zstyle ':completion:*:*:-command-:*:*' group-order alias builtins functions commands
|
||||
# zstyle ':completion:*' file-list all
|
||||
zstyle ':completion:*' squeeze-slashes true
|
||||
zstyle ':completion:*:*:cp:*' file-sort modification
|
||||
# This way the completion script does not have to parse Bazel's options
|
||||
# repeatedly. The 'cache-path' directory in must be created manually.
|
||||
zstyle ':completion:*' use-cache on
|
||||
zstyle ':completion:*' cache-path $ZSH/cache
|
||||
zstyle ':completion:*' use-cache on
|
||||
zstyle ':completion:*' cache-path $ZSH_CACHE_DIR
|
||||
|
|
Loading…
Reference in New Issue