You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't really want commands like ls, cd, git status and so on to appear when searching the history. It would be good to be able to specify some patterns (globs, regexes, whatever) to filter those out. However, it could be nice to show these if required, so the filtering would be in the UI, not in recording the commands.
cd would be the motivating example. Most of the time, I don't want it shown in history. But sometimes, when I'm in a complex directory structure with weird names, I'd like to get the latest cd commands I used to go back to where I was previously, especially when filtering only commands from the current directory.
To be fair, I can still get this from history | fzf, and it might not used frequently enough to warrant a feature.
I don't really want commands like
ls
,cd
,git status
and so on to appear when searching the history. It would be good to be able to specify some patterns (globs, regexes, whatever) to filter those out. However, it could be nice to show these if required, so the filtering would be in the UI, not in recording the commands.This would go along nicely with #1912.
Also, I'd be open to working on this as a PR if I can get some guidance on how to start.
The text was updated successfully, but these errors were encountered: