enable fzf completions

This commit is contained in:
Felix Suchert 2023-03-22 10:12:24 +01:00
parent bc1e524958
commit b6f3b174df
Signed by: feliix42
GPG key ID: 24363525EA0E8A99
5 changed files with 16 additions and 1 deletions

4
entropy/.bashrc Normal file
View file

@ -0,0 +1,4 @@
if command -v fzf-share >/dev/null; then
source "$(fzf-share)/key-bindings.bash"
source "$(fzf-share)/completion.bash"
fi

View file

@ -0,0 +1,7 @@
function fish_user_key_bindings
if command -s fzf-share >/dev/null
source (fzf-share)/key-bindings.fish
end
fzf_key_bindings
end

View file

@ -97,8 +97,11 @@ ln -s $PWD/.urlview ~/.urlview
ln -s $PWD/.tmux.conf ~/.tmux.conf
ln -s $PWD/.gitconfig ~/.gitconfig
ln -s $PWD/git-commit-template.txt ~/.gitcommit_template
ln -s $PWD/.bashrc ~/.bashrc
mkdir -p ~/.config/fish/
ln -s $PWD/config.fish ~/.config/fish/config.fish
ln -s $PWD/fish/config.fish ~/.config/fish/config.fish
mkdir -p ~/.config/fish/functions
ln -s $PWD/fish/fish_user_key_bindings.fish ~/.config/fish/functions/fish_user_key_bindings.fish
## i3 things
ln -s $PWD/i3 ~/.config/i3
ln -s $PWD/i3status-rust ~/.config/i3status-rust

View file

@ -175,6 +175,7 @@ in
bat
lsd
ripgrep
fzf
#sshfs
ncdu
tldr