fzf.zsh: Bugfix for termux
This commit is contained in:
parent
dea76cfaab
commit
e966123170
1 changed files with 10 additions and 2 deletions
12
fzf.zsh
12
fzf.zsh
|
@ -1,6 +1,14 @@
|
|||
export FZF_COMPLETION_OPTS='--border --info=inline'
|
||||
source /usr/share/doc/fzf/examples/completion.zsh
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
|
||||
if [ -n "$TERMUX_VERSION" ] && [ -d "$PREFIX" ];
|
||||
then
|
||||
source "$PREFIX/share/fzf/completion.zsh"
|
||||
source "$PREFIX/share/fzf/key-bindings.zsh"
|
||||
else
|
||||
source /usr/share/doc/fzf/examples/completion.zsh
|
||||
source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
fi
|
||||
|
||||
# (EXPERIMENTAL) Advanced customization of fzf options via _fzf_comprun function
|
||||
# - The first argument to the function is the name of the command.
|
||||
# - You should make sure to pass the rest of the arguments to fzf.
|
||||
|
|
Loading…
Reference in a new issue