diff options
author | 2022-06-02 17:42:15 +0200 | |
---|---|---|
committer | 2022-06-02 17:42:15 +0200 | |
commit | 228ff6b37b40c6fc681b95967ee77122f078477b (patch) | |
tree | 420a4b6aecd79ea5ccde31c8a765d14784449422 /bash/fzf.bash | |
parent | 46a7583ac5bcfed29157af096294fa871473a901 (diff) | |
download | dotfiles-228ff6b37b40c6fc681b95967ee77122f078477b.tar.gz |
bash: fzf and preexec function
Diffstat (limited to 'bash/fzf.bash')
-rw-r--r-- | bash/fzf.bash | 11 |
1 files changed, 11 insertions, 0 deletions
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='++' |