|
|
|
|
|
by pbhjpbhj
3361 days ago
|
|
Sounds like something that should be optional in the shell itself, scrub command before writing to history. Naive non-programmers version: use a hash table to censor all substrings of a given length range that match against it ... sounds like it might be expensive (in compute time), also you have to keep a list of those hashes around. Bet it's been wontfix-ed in at least one major shell? |
|
Also look at HISTIGNORE for finer grained control.