cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.78k stars 177 forks source link

How to get McFly to list history in frecency or recency? #177

Closed wyuenho closed 2 years ago

wyuenho commented 2 years ago

Sometimes I just want to trigger McFly to look up the last 1 or 2 or 3 command, especially when they are long, but there doesn't seem to a way to do that in McFly, the completion list just uses some unknown heuristics to sort the list. Is there anyway to adjust that?

jerm commented 2 years ago

Came here to request this. Actually went back to regular ctrl-r because of the difficulty of access to recent commands :(

cantino commented 2 years ago

I'd be very open to a pull request that adds a toggle keybinding and an environment variable setting to switch between default ranking and recency ranking.

cantino commented 2 years ago

Closed by #179!