Skip to content

Commit

Permalink
Update .zshrc
Browse files Browse the repository at this point in the history
  • Loading branch information
wardnath committed Aug 8, 2024
1 parent 9b2a9ba commit 199ab37
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -152,20 +152,20 @@ zinit snippet 'OMZP::asdf'
# Style

# 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
# NOTE: don't use escape sequences here, fzf-tab will ignore them
zstyle ':completion:*:descriptions' format '[%d]'
#zstyle ':completion:*:descriptions' format '[%d]'
# 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
zstyle ':completion:*' menu no
#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'
#zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
# switch group using `<` and `>`
zstyle ':fzf-tab:*' switch-group '<' '>'
#zstyle ':fzf-tab:*' switch-group '<' '>'
# show completion menu on successive tab press (menu_complete overrides)
setopt auto_menu
#setopt auto_menu

### End - zinit Config

Expand Down

0 comments on commit 199ab37

Please sign in to comment.