dotfiles

My dotfiles, nothing really interesting to see ...
git clone https://git.onna.be/dotfiles.git
Log | Files | Refs | README

commit 79c241ad72672d88e27e6fbc591748022fee6df9
parent 8752bd0b8989e81b2695adf665b3ed5f9a156b53
Author: Paco Esteban <paco@onna.be>
Date:   Sun,  1 Jul 2018 19:23:46 +0200

better compatibility when we do not have fzf installed

Diffstat:
zsh/.zsh/includes.zsh | 10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/zsh/.zsh/includes.zsh b/zsh/.zsh/includes.zsh @@ -15,14 +15,16 @@ fi # fzf stuff if [ -f /usr/share/fzf/key-bindings.zsh ]; then - source /usr/share/fzf/key-bindings.zsh + source /usr/share/fzf/key-bindings.zsh elif [ -f $HOME/etc/fzf/key-bindings.zsh ]; then - source $HOME/etc/fzf/key-bindings.zsh + source $HOME/etc/fzf/key-bindings.zsh +else + bindkey '^R' history-incremental-search-backward fi if [ -f /usr/share/fzf/completion.zsh ]; then - source /usr/share/fzf/completion.zsh + source /usr/share/fzf/completion.zsh elif [ -f $HOME/etc/fzf/completion.zsh ]; then - source $HOME/etc/fzf/completion.zsh + source $HOME/etc/fzf/completion.zsh fi # kubectl completion and nice kube info on prompt