Hacker News new | ask | show | jobs
by j7ake 993 days ago
Would love a system that analyses my shell command usage and recommend when I should link commands I often use in series and turn them into one line.

It’s more than just frequency analysis because it helps to remember what commands happened before or after. It also needs to be smart about when two commands are actually “the same thing” but with different flags or input filenames.

Maybe something like an N-gram model.

1 comments

I don't like being this guy, but maybe throwing your history at a GPT, asking it exactly that, would work fairly well?