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. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
So, for your case, to remove all lines starting with the word |
Beta Was this translation helpful? Give feedback.
$HISTORY_IGNORE
parameter.zsh
will 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 *'
.