Trying autocomplete again

This commit is contained in:
Eduardo Cueto-Mendoza 2025-01-30 19:16:26 +00:00
parent 0ad3918fd6
commit 93ea327077
Signed by: TastyPancakes
GPG Key ID: 941DF56C7242C3F1
1 changed files with 7 additions and 7 deletions

14
.zshrc
View File

@ -14,7 +14,7 @@ zinit light zsh-users/zsh-autosuggestions
zinit light junegunn/fzf-git.sh zinit light junegunn/fzf-git.sh
# Load completions # Load completions
autoload -U compinit && compinit #autoload -U compinit && compinit
# My configurations # My configurations
# Colors # Colors
@ -72,14 +72,14 @@ setopt hist_find_no_dups
# Copmletion styling # Copmletion styling
zstyle ":completion:*" matcher-list "m:{a-z}={A-Za-z}" zstyle ":completion:*" matcher-list "m:{a-z}={A-Za-z}"
zstyle ":completion:*" list-colors "${(s.:.)LS_COLORS}" zstyle ":completion:*" list-colors "${(s.:.)LS_COLORS}"
## disable sort when completing `git checkout` # disable sort when completing `git checkout`
#zstyle ":completion:*:git-checkout:*" sort false zstyle ":completion:*:git-checkout:*" sort false
## set descriptions format to enable group support # set descriptions format to enable group support
## NOTE: don"t use escape sequences (like "%F{red}%d%f") here, fzf-tab will ignore them # NOTE: don"t use escape sequences (like "%F{red}%d%f") here, fzf-tab will ignore them
#zstyle ":completion:*:descriptions" format "[%d]" #zstyle ":completion:*:descriptions" format "[%d]"
## set list-colors to enable filename colorizing # set list-colors to enable filename colorizing
#zstyle ":completion:*" list-colors ${(s.:.)LS_COLORS} #zstyle ":completion:*" list-colors ${(s.:.)LS_COLORS}
## force zsh not to show completion menu, which allows fzf-tab to capture the unambiguous prefix # force zsh not to show completion menu, which allows fzf-tab to capture the unambiguous prefix
#zstyle ":completion:*" menu no #zstyle ":completion:*" menu no
## preview directory"s content with eza when completing cd ## preview directory"s content with eza when completing cd
#zstyle ":fzf-tab:complete:cd:*" fzf-preview "eza -1 --color=always $realpath" #zstyle ":fzf-tab:complete:cd:*" fzf-preview "eza -1 --color=always $realpath"