25 lines
836 B
Diff
25 lines
836 B
Diff
diff -u -r ../fzf-0.11.1/bin/fzf-tmux ./bin/fzf-tmux
|
|
--- ../fzf-0.11.1/bin/fzf-tmux 2015-11-30 10:39:45.000000000 -0500
|
|
+++ ./bin/fzf-tmux 2016-01-10 19:11:38.223664557 -0500
|
|
@@ -1,4 +1,4 @@
|
|
-#!/usr/bin/env bash
|
|
+#!/usr/bin/bash
|
|
# fzf-tmux: starts fzf in a tmux pane
|
|
# usage: fzf-tmux [-u|-d [HEIGHT[%]]] [-l|-r [WIDTH[%]]] [--] [FZF OPTIONS]
|
|
|
|
@@ -91,10 +91,10 @@
|
|
|
|
# Clean up named pipes on exit
|
|
id=$RANDOM
|
|
-argsf="${TMPDIR:-/tmp}/fzf-args-$id"
|
|
-fifo1="${TMPDIR:-/tmp}/fzf-fifo1-$id"
|
|
-fifo2="${TMPDIR:-/tmp}/fzf-fifo2-$id"
|
|
-fifo3="${TMPDIR:-/tmp}/fzf-fifo3-$id"
|
|
+argsf="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-args-$id"
|
|
+fifo1="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo1-$id"
|
|
+fifo2="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo2-$id"
|
|
+fifo3="${TMPDIR:-@TERMUX_PREFIX@/tmp}/fzf-fifo3-$id"
|
|
cleanup() {
|
|
rm -f $argsf $fifo1 $fifo2 $fifo3
|
|
}
|