diff options
| author | Marc Vertes <mvertes@free.fr> | 2025-01-28 12:02:00 +0100 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2025-01-28 12:02:00 +0100 |
| commit | d28de23c5c9aa1088e97f1555cb4ddf039ac2733 (patch) | |
| tree | 5e8b89b9228442c6044203d33313a3203871ab84 /.bashrc | |
| parent | d55d549d48ccaf7fb281bcf90b7bfe7a76f2b280 (diff) | |
fix fzf
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -143,14 +143,7 @@ meteo() { #PS1='[\u@\h \W]\$ ' -# fzf -# Accomodate different base prefix on termux -#[ -d "$HOME/../usr" ] && base=.. -#[ -f "$base/usr/share/fzf/completion.bash" ] && . "$base/usr/share/fzf/completion.bash" -#[ -f "$base/usr/share/fzf/key-bindings.bash" ] && . "$base/usr/share/fzf/key-bindings.bash" -#unset base -#[ -f "/usr/share/fzf/completion.bash" ] && . "/usr/share/fzf/completion.bash" -#[ -f "/usr/share/fzf/key-bindings.bash" ] && . "/usr/share/fzf/key-bindings.bash" +eval "$(fzf --bash)" >/dev/null # Arch: display package to install for missing commands #[ -f '/usr/share/doc/pkgfile/command-not-found.bash' ] && . /usr/share/doc/pkgfile/command-not-found.bash @@ -167,5 +160,3 @@ meteo() { #bind -m vi-command ".":insert-last-argument #bind -m vi-command 'Control-l: clear-screen' #bind -m vi-insert 'Control-l: clear-screen' - -[ -f ~/.fzf.bash ] && source ~/.fzf.bash |
