aboutsummaryrefslogtreecommitdiff
path: root/modules/base/fish/functions/__fancy_history.fish
blob: 7ea5a12d4174077060a9191c441d35ba26972364 (plain)
1
2
3
4
5
function __fancy_history --description "history(1) but cool!"
  set __queried_cmd (history | fzf --height=15 --reverse)
  commandline -t $__queried_cmd
  commandline -f repaint
end