fish: port function to get most common subcommands of given command
1 file changed, 3 insertions(+), 0 deletions(-)
A user/settings/fish/functions/history-frequent-subcommands.fish
@@ -0,0 +1,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