diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2014-05-02 16:35:36 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2014-05-02 16:35:36 +0900 |
commit | b3efccca81d9ac4bb9a4f23b40a04465fd160ca6 (patch) | |
tree | 27c3ca07ef51c11c01a24068dfd04bc592d4e95e /install | |
parent | 809d465de5da8c29508b6839127f0098e821fc97 (diff) |
[fish] Remove temporary file after use
Diffstat (limited to 'install')
-rwxr-xr-x | install | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |