3 ms·
HISTIGNORE=ssh It won't strip existing lines, but will prevent them from being recorded in the future.
by jacknagel 15y ago
HISTIGNORE=ssh
It won't strip existing lines, but will prevent them from being recorded in the future.
- jacknagel 15y agoSorry, should be HISTIGNORE=ssh* (the pattern has to match the entire line.) Like many shell variables, this one is a colon-separated list.