From f1f028116e5444590ad9e9aa69945c585b565167 Mon Sep 17 00:00:00 2001 From: pika Date: Sun, 18 Aug 2024 02:49:32 +0200 Subject: [PATCH] addet fzf --- .bashrc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index fd4a782..07adedf 100644 --- a/.bashrc +++ b/.bashrc @@ -232,7 +232,9 @@ fi source ~/.fzf.bash source /usr/share/doc/fzf/examples/key-bindings.bash # ─< Use fzf for completion >───────────────────────────────────────────────────────────── -# Use fzf for enhanced completion +bind -x '"\t": fzf-completion' +bind -x '"\C-i": fzf-completion' +} _fzf_comprun() { local command=$1 shift @@ -244,11 +246,6 @@ _fzf_comprun() { esac } -# Use fzf-completion with TAB -bind -x '"\t": fzf-completion' -bind -x '"\C-i": fzf-completion' -} - # ─< t stands for trash(-cli) >─────────────────────────────────────────────────────────────── _trash() { if command_exists trash; then