fix 🐛: Zsh
This commit is contained in:
parent
ecbc0764bd
commit
3a7586637c
1 changed files with 12 additions and 3 deletions
15
zsh/.zshrc
15
zsh/.zshrc
|
@ -19,11 +19,10 @@ zinit light zsh-users/zsh-syntax-highlighting
|
||||||
zinit light zsh-users/zsh-completions
|
zinit light zsh-users/zsh-completions
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
zinit light Aloxaf/fzf-tab
|
zinit light Aloxaf/fzf-tab
|
||||||
zinit light xylous/gitstatus
|
zinit light romkatv/gitstatus
|
||||||
# zinit ice wait'0' # Load asynchronously
|
|
||||||
|
|
||||||
zinit light zsh-users/zsh-history-substring-search
|
zinit light zsh-users/zsh-history-substring-search
|
||||||
|
|
||||||
|
|
||||||
zinit snippet OMZP::git
|
zinit snippet OMZP::git
|
||||||
zinit snippet OMZP::sudo
|
zinit snippet OMZP::sudo
|
||||||
#zinit snippet OMZP::archLinux
|
#zinit snippet OMZP::archLinux
|
||||||
|
@ -39,6 +38,15 @@ autoload -Uz compinit && compinit
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=8'
|
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
|
# # Keybindings
|
||||||
bindkey -e
|
bindkey -e
|
||||||
bindkey '^[ ' autosuggest-execute
|
bindkey '^[ ' autosuggest-execute
|
||||||
|
@ -78,6 +86,7 @@ setopt hist_find_no_dups
|
||||||
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}"
|
||||||
zstyle ':completion:*' menu no
|
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:cd:*' fzf-preview 'ls --color $realpath'
|
||||||
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
zstyle ':fzf-tab:complete:__zoxide_z:*' fzf-preview 'ls --color $realpath'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue