From 3a7586637c8189895d4792bcf64089703bb965bc Mon Sep 17 00:00:00 2001 From: Ayush Dumasia Date: Mon, 9 Jun 2025 19:46:42 +0530 Subject: [PATCH] =?UTF-8?q?fix=20=F0=9F=90=9B:=20Zsh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zsh/.zshrc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index b50ca80..8756f0c 100755 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -19,11 +19,10 @@ zinit light zsh-users/zsh-syntax-highlighting zinit light zsh-users/zsh-completions zinit light zsh-users/zsh-autosuggestions zinit light Aloxaf/fzf-tab -zinit light xylous/gitstatus -# zinit ice wait'0' # Load asynchronously - +zinit light romkatv/gitstatus zinit light zsh-users/zsh-history-substring-search + zinit snippet OMZP::git zinit snippet OMZP::sudo #zinit snippet OMZP::archLinux @@ -39,6 +38,15 @@ autoload -Uz compinit && compinit ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8' +zstyle ':completion:*:git-checkout:*' sort false +zstyle ':completion:*:descriptions' format '[%d]' +zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} +zstyle ':completion:*' menu no +zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath' +zstyle ':fzf-tab:*' fzf-flags --color=fg:1,fg+:2 --bind=tab:accept +zstyle ':fzf-tab:*' use-fzf-default-opts yes +zstyle ':fzf-tab:*' switch-group '<' '>' + # # Keybindings bindkey -e bindkey '^[ ' autosuggest-execute @@ -78,6 +86,7 @@ setopt hist_find_no_dups zstyle ':completion:*' matcher-list 'm:{a-z}={A-Za-z}' zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" zstyle ':completion:*' menu no +zstyle ':fzf-tab:*' fzf-command ftb-tmux-popup zstyle ':fzf-tab:complete:cd:*' fzf-preview 'ls --color $realpath' zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'