From a7712d50dad80f895d722f030ebf54594f9c7310 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Thu, 11 Mar 2021 15:16:03 +0300 Subject: [PATCH] Half revert last commit --- home/.bashrc-bloated | 6 +++--- home/.config/fish/conf.d/evaluate.fish | 6 +++--- home/.config/zsh/.zshrc | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/home/.bashrc-bloated b/home/.bashrc-bloated index 3ddbc04..32cf7b1 100644 --- a/home/.bashrc-bloated +++ b/home/.bashrc-bloated @@ -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 diff --git a/home/.config/fish/conf.d/evaluate.fish b/home/.config/fish/conf.d/evaluate.fish index 554763c..e1bc8be 100644 --- a/home/.config/fish/conf.d/evaluate.fish +++ b/home/.config/fish/conf.d/evaluate.fish @@ -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 diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc index bdcc3a9..52783a8 100644 --- a/home/.config/zsh/.zshrc +++ b/home/.config/zsh/.zshrc @@ -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)