all repos — nixfiles @ 8da26ca226d9d1607d3479cbcf084589efd0e92c

System and user configuration, managed by nix and home-manager

user/settings/fish/functions/history-frequent-subcommands.fish (view raw)

1
2
3
function history-frequent-subcommands
    history search --prefix "$argv[1] " --max 10000 | cut -d' ' -f 2 | sort | uniq -c | sort -gr | head -n100 | less
end