New features in the fish shell
New features in the fish shell
Posted Sep 30, 2020 20:06 UTC (Wed) by szm (guest, #100120)In reply to: New features in the fish shell by Paf
Parent article: New features in the fish shell
rm -rf ./*
or dropping database tables, etc. from the search history. Before learning about history suppression in my younger years (i.e. back when I tended to be prone to getting nervous during an incident with a critical system or when I sometimes would grow impatient while working over high-latency ssh connections), I've had several jump-scares when, by "typing ahead" not only commands but retrieving items from the history with the arrow keys, found that I accidentially ended up with the "interesting side-effects if run here and now" kind of command. Luckily always before hitting enter, but still.
It's not a fool-proof system, but I find it quite useful in the "better safe than sorry" kind of way.
Cheers,
szm
