From 228ff6b37b40c6fc681b95967ee77122f078477b Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 2 Jun 2022 17:42:15 +0200 Subject: bash: fzf and preexec function --- bash/fzf.bash | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 bash/fzf.bash (limited to 'bash/fzf.bash') diff --git a/bash/fzf.bash b/bash/fzf.bash new file mode 100644 index 0000000..76e3dde --- /dev/null +++ b/bash/fzf.bash @@ -0,0 +1,11 @@ +# vi:syntax=sh + +if [ -f /usr/share/fzf/completion.bash ]; then + source /usr/share/fzf/completion.bash +fi + +if [ -f /usr/share/fzf/key-bindings.bash ]; then + source /usr/share/fzf/key-bindings.bash +fi + +export FZF_COMPLETION_TRIGGER='++' -- cgit v1.2.3