Half revert last commit

This commit is contained in:
FollieHiyuki 2021-03-11 15:16:03 +03:00
parent 8e7e617baa
commit a7712d50da
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
3 changed files with 8 additions and 8 deletions

View File

@ -710,9 +710,9 @@ shopt -s expand_aliases
shopt -s histappend
# this is overkilled but it works conveniently
# [[ -d $HOME/.local/share/bash/basher/cellar/packages/junegunn/fzf ]] || basher install junegunn/fzf
# include junegunn/fzf shell/key-bindings.bash
# include junegunn/fzf shell/completion.bash
[[ -d $HOME/.local/share/bash/basher/cellar/packages/junegunn/fzf ]] || basher install junegunn/fzf
include junegunn/fzf shell/key-bindings.bash
include junegunn/fzf shell/completion.bash
export FZF_COMPLETION_OPTS='-x'
# Use fd instead of find for fzf_completion

View File

@ -53,9 +53,9 @@ end
fish_vi_key_bindings
# fzf
# if not test -f "$HOME/.config/fish/functions/fzf_key_bindings.fish"
# curl -fLo $HOME/.config/fish/functions/fzf_key_bindings.fish https://raw.githubusercontent.com/junegunn/fzf/master/shell/key-bindings.fish
# end
if not test -f "$HOME/.config/fish/functions/fzf_key_bindings.fish"
curl -fLo $HOME/.config/fish/functions/fzf_key_bindings.fish https://raw.githubusercontent.com/junegunn/fzf/master/shell/key-bindings.fish
end
fzf_key_bindings
# z.lua

View File

@ -115,8 +115,8 @@ zinit ice blockf as"completion" for \
OMZ::plugins/fd/_fd
# fzf key bindings and zsh completions for some commands
# zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh
# zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh
zinit snippet https://github.com/junegunn/fzf/blob/master/shell/key-bindings.zsh
zinit snippet https://github.com/junegunn/fzf/blob/master/shell/completion.zsh
export FZF_COMPLETION_OPTS='-x'
# https://cht.sh (cheatsheet)