ZSH: fix fzf initialization
This commit is contained in:
parent
7f07fb2d2b
commit
460edb3593
1 changed files with 1 additions and 10 deletions
|
@ -35,16 +35,7 @@ zinit ice lucid atinit'zpcompinit'
|
||||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||||
|
|
||||||
# use fzf with zsh
|
# use fzf with zsh
|
||||||
{%@@ if distro_id == "termux" @@%}
|
source <(fzf --zsh)
|
||||||
source $PREFIX/share/fzf/key-bindings.zsh
|
|
||||||
source $PREFIX/share/fzf/completion.zsh
|
|
||||||
{%@@ elif distro_id == "debian" @@%}
|
|
||||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
|
||||||
source /usr/share/doc/fzf/examples/completion.zsh
|
|
||||||
{%@@ else @@%}
|
|
||||||
source /usr/share/fzf/key-bindings.zsh
|
|
||||||
source /usr/share/fzf/completion.zsh
|
|
||||||
{%@@ endif @@%}
|
|
||||||
|
|
||||||
# Generate completions at runtime
|
# Generate completions at runtime
|
||||||
zinit ice wait'2' lucid
|
zinit ice wait'2' lucid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue