diff --git a/.zshrc b/.zshrc index f922772..88d8e4a 100644 --- a/.zshrc +++ b/.zshrc @@ -14,7 +14,7 @@ zinit light zsh-users/zsh-autosuggestions zinit light junegunn/fzf-git.sh # Load completions -autoload -U compinit && compinit +#autoload -U compinit && compinit # My configurations # Colors @@ -72,14 +72,14 @@ setopt hist_find_no_dups # Copmletion styling zstyle ":completion:*" matcher-list "m:{a-z}={A-Za-z}" zstyle ":completion:*" list-colors "${(s.:.)LS_COLORS}" -## disable sort when completing `git checkout` -#zstyle ":completion:*:git-checkout:*" sort false -## set descriptions format to enable group support -## NOTE: don"t use escape sequences (like "%F{red}%d%f") here, fzf-tab will ignore them +# disable sort when completing `git checkout` +zstyle ":completion:*:git-checkout:*" sort false +# set descriptions format to enable group support +# NOTE: don"t use escape sequences (like "%F{red}%d%f") here, fzf-tab will ignore them #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} -## 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 ## preview directory"s content with eza when completing cd #zstyle ":fzf-tab:complete:cd:*" fzf-preview "eza -1 --color=always $realpath"