summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-01-28 12:02:00 +0100
committerMarc Vertes <mvertes@free.fr>2025-01-28 12:02:00 +0100
commitd28de23c5c9aa1088e97f1555cb4ddf039ac2733 (patch)
tree5e8b89b9228442c6044203d33313a3203871ab84 /.bashrc
parentd55d549d48ccaf7fb281bcf90b7bfe7a76f2b280 (diff)
fix fzf
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc11
1 files changed, 1 insertions, 10 deletions
diff --git a/.bashrc b/.bashrc
index 85b53b4..55d4eb0 100644
--- a/.bashrc
+++ b/.bashrc
@@ -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