Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 675 Bytes

slimming_history.md

File metadata and controls

14 lines (9 loc) · 675 Bytes

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