all repos — nixfiles @ aae94a2e42ff4e4ae157af606f6ea3b8d21b71b1

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