Patterns #15
|
I stumbled upon this from a post on SO and this is exactly what I was looking for. Unfortunately, Im a bit confused with some of the functionality. |
Answered by
marlonrichert
Nov 26, 2021
Replies: 1 comment
So, for your case, to remove all lines starting with the word |
0 replies
Answer selected by
ryedunn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$HISTORY_IGNOREparameter.zshwill perform filename generation on your argument before passing it tohist.So, for your case, to remove all lines starting with the word
ls, you should usehist d 'ls *'.