all repos — nixfiles @ 9bc10d6aba9c70d6267b1b5cee4fa46c104e8a12

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