mirror of
https://github.com/Feliix42/dotfiles.git
synced 2024-11-22 06:06:29 +00:00
enable fzf completions
This commit is contained in:
parent
bc1e524958
commit
b6f3b174df
5 changed files with 16 additions and 1 deletions
4
entropy/.bashrc
Normal file
4
entropy/.bashrc
Normal 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
|
7
entropy/fish/fish_user_key_bindings.fish
Normal file
7
entropy/fish/fish_user_key_bindings.fish
Normal 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
|
|
@ -97,8 +97,11 @@ ln -s $PWD/.urlview ~/.urlview
|
||||||
ln -s $PWD/.tmux.conf ~/.tmux.conf
|
ln -s $PWD/.tmux.conf ~/.tmux.conf
|
||||||
ln -s $PWD/.gitconfig ~/.gitconfig
|
ln -s $PWD/.gitconfig ~/.gitconfig
|
||||||
ln -s $PWD/git-commit-template.txt ~/.gitcommit_template
|
ln -s $PWD/git-commit-template.txt ~/.gitcommit_template
|
||||||
|
ln -s $PWD/.bashrc ~/.bashrc
|
||||||
mkdir -p ~/.config/fish/
|
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
|
## i3 things
|
||||||
ln -s $PWD/i3 ~/.config/i3
|
ln -s $PWD/i3 ~/.config/i3
|
||||||
ln -s $PWD/i3status-rust ~/.config/i3status-rust
|
ln -s $PWD/i3status-rust ~/.config/i3status-rust
|
||||||
|
|
|
@ -175,6 +175,7 @@ in
|
||||||
bat
|
bat
|
||||||
lsd
|
lsd
|
||||||
ripgrep
|
ripgrep
|
||||||
|
fzf
|
||||||
#sshfs
|
#sshfs
|
||||||
ncdu
|
ncdu
|
||||||
tldr
|
tldr
|
||||||
|
|
Loading…
Reference in a new issue