all repos — nixfiles @ 872be371bd442d4d0e86489f6229a7edd4187ec8

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