From b3efccca81d9ac4bb9a4f23b40a04465fd160ca6 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 2 May 2014 16:35:36 +0900 Subject: [PATCH] [fish] Remove temporary file after use --- install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install b/install index 9b899f17..d280d3da 100755 --- a/install +++ b/install @@ -263,12 +263,14 @@ function fzf_key_bindings else __fzf_select > $TMPDIR/fzf.result and commandline -i (cat $TMPDIR/fzf.result) + rm -f $TMPDIR/fzf.result end end function __fzf_ctrl_t_tmux __fzf_select > $TMPDIR/fzf.result and tmux send-keys -t $argv[1] (cat $TMPDIR/fzf.result) + rm -f $TMPDIR/fzf.result end function __fzf_ctrl_r @@ -277,6 +279,7 @@ function fzf_key_bindings else commandline -f repaint end + rm -f $TMPDIR/fzf.result end function __fzf_alt_c @@ -285,6 +288,7 @@ function fzf_key_bindings cd (cat $TMPDIR/fzf.result) end commandline -f repaint + rm -f $TMPDIR/fzf.result end function __fzf_tmux_height