til

Today I Learned: collection of notes, tips and tricks and stuff I learn from day to day working with computers and technology as an open source contributor and product manager

View project on GitHub

Slimming history

If you want to have history from your shell with some more value ignoring all of the basic commands have a look at setting the environment variable: HISTIGNORE.

This is based on the example by Kenneth Geisshirt from his slidedeck available at SlideShare, with my own addition.

$ export HISTIGNORE="pwd:ls:ls -l:cd:clear"

Resources and References

  1. SlideShare
  2. Bash History Facilities