tenseleyflow/ndotfiles / c68995a

Browse files

wrapper

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
c68995a3875e878ec33d44a3e5df85610b6596cc
Parents
09ec19d
Tree
1dcea7d

1 changed file

StatusFile+-
A fish/functions/_fzf.fish 10 0
fish/functions/_fzf.fishadded
@@ -0,0 +1,10 @@
1
+## use a tmux popup when available
2
+#
3
+function _fzf
4
+    if set -q TMUX
5
+        # 85% x 85% popup; pass through args
6
+        fzf-tmux -p 85%,85% -- $argv
7
+    else
8
+        fzf $argv
9
+    end
10
+end