Skip to content
Myr

reverse history for fish shell

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

authored by brettanomyces · committed by brettanomyces · parent d89c9e9 · Browse files · 1 file+9 added−1 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+9 added−1 removed

  • other:+9 added−1 removed

1 file+9 added−1 removed

modified:install+9 added-1 removed
292 unmodified lines
293 and tmux send-keys -t $argv[1] (cat $TMPDIR/fzf.result | __fzf_escape)294 rm -f $TMPDIR/fzf.result295 end296297 function __fzf_reverse298 if which tac > /dev/null299 tac $argv300 else301 tail -r $argv302 end303 end304305 function __fzf_ctrl_r298 history | fzf +s +m > $TMPDIR/fzf.result306 history | __fzf_reverse | fzf +s +m > $TMPDIR/fzf.result307 and commandline (cat $TMPDIR/fzf.result)308 commandline -f repaint309 rm -f $TMPDIR/fzf.result310 end
79 unmodified lines