summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fzf-tmux8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/fzf-tmux b/bin/fzf-tmux
index 239c8781..1085b963 100755
--- a/bin/fzf-tmux
+++ b/bin/fzf-tmux
@@ -91,10 +91,10 @@ set -e
# Clean up named pipes on exit
id=$RANDOM
-argsf=/tmp/fzf-args-$id
-fifo1=/tmp/fzf-fifo1-$id
-fifo2=/tmp/fzf-fifo2-$id
-fifo3=/tmp/fzf-fifo3-$id
+argsf="${TMPDIR:-/tmp}/fzf-args-$id"
+fifo1="${TMPDIR:-/tmp}/fzf-fifo1-$id"
+fifo2="${TMPDIR:-/tmp}/fzf-fifo2-$id"
+fifo3="${TMPDIR:-/tmp}/fzf-fifo3-$id"
cleanup() {
rm -f $argsf $fifo1 $fifo2 $fifo3
}