Closed Proximus888 closed 8 months ago
I added fzf-bash-completion.sh to my .bashrc and everything works in bash.
source /usr/share/fzf-tab-completion/bash/fzf-bash-completion.sh bind -x '"\t": fzf_bash_completion'
But if I add it to my .zshrc I get errors that I don't know how to solve.
#Zsh plugins source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh source /usr/share/fzf/completion.zsh source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf-tab-completion/zsh/fzf-zsh-completion.sh bindkey '^I' fzf_completion zstyle ':completion:*' fzf-search-display true ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=3'
Errors:
_fzf_completion:90: command not found: _expand _fzf_completion:93: command not found: _main_complete
Installed:
zsh --version zsh 5.9 (x86_64-pc-linux-gnu) fzf --version 0.44.1 (29e67d30)
Fixed it, I am not really familiar with this zsh settings but adding this to my .zshrc worked.
autoload -Uz compinit && compinit zmodload -i zsh/complist
I added fzf-bash-completion.sh to my .bashrc and everything works in bash.
But if I add it to my .zshrc I get errors that I don't know how to solve.
Errors:
Installed: