summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-01-25 17:21:34 +0100
committerMarc Vertes <mvertes@free.fr>2025-01-25 17:21:34 +0100
commit7f253bc79898d49ed7738fbf83d01f48b020f486 (patch)
tree515ac87c6b51c0524f1cdda4892bbe8346510f49
parentb96abca9e600cf9ea3084fd894df18331393ddad (diff)
update
-rw-r--r--.bashrc2
-rwxr-xr-xbin/fv2
2 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index c4bcc2f..2138f37 100644
--- a/.bashrc
+++ b/.bashrc
@@ -163,3 +163,5 @@ 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
diff --git a/bin/fv b/bin/fv
index 1f54bdc..678c8d7 100755
--- a/bin/fv
+++ b/bin/fv
@@ -3,4 +3,4 @@
#exec fzf --multi --preview-window=right:66% --preview 'cat {1}'
exec fzf --ansi --multi --preview-window=right:75% \
--bind=left:preview-page-up --bind=right:preview-page-down \
- --preview 'bat --color always {1}'
+ --preview 'cat {}'