Skip to content
Myr

[fish] Remove temporary file after use

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent 809d465 · Browse files · 1 file+4 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+4 added−0 removed

  • other:+4 added−0 removed

1 file+4 added−0 removed

modified:install+4 added
261 unmodified lines
262 tmux split-window (__fzf_tmux_height) "fish -c 'fzf_key_bindings; __fzf_ctrl_t_tmux \\$TMUX_PANE'"263 else264 __fzf_select > $TMPDIR/fzf.result265 and commandline -i (cat $TMPDIR/fzf.result)266 rm -f $TMPDIR/fzf.result267 end268 end269270 function __fzf_ctrl_t_tmux271 __fzf_select > $TMPDIR/fzf.result272 and tmux send-keys -t $argv[1] (cat $TMPDIR/fzf.result)273 rm -f $TMPDIR/fzf.result274 end275276 function __fzf_ctrl_r277 if history | fzf +s +m > $TMPDIR/fzf.result278 commandline (cat $TMPDIR/fzf.result)279 else280 commandline -f repaint281 end282 rm -f $TMPDIR/fzf.result283 end284285 function __fzf_alt_c286 find * -path '*/\.*' -prune -o -type d -print 2> /dev/null | fzf +m > $TMPDIR/fzf.result287 if [ (cat $TMPDIR/fzf.result | wc -l) -gt 0 ]288 cd (cat $TMPDIR/fzf.result)289 end290 commandline -f repaint291 rm -f $TMPDIR/fzf.result292 end293294 function __fzf_tmux_height295 if set -q FZF_TMUX_HEIGHT
57 unmodified lines