-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
While working on fixing other problems with the history command it occurred to me that there really should be a flag to limit the number of search results to the n most recent commands. I was used to having such a capability when I used zsh and wrote my own history wrapper function when I switched to fish in order to have a similar capability. This would be similar to git log -nnn and far more efficient than piping the output of history -search through head -nnn or directly iterating over $history in a fish function.
Reactions are currently unavailable