all repos — nixfiles @ 2dbbb382d6c47e52cd853ce3066f4bb2029f53b4

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