A simple command history filter for the fish shell.
- Use regex filters to prevent commands from being saved in the command history.
- Out of the box, commands that begin with one or more spaces are ignored.
- That's it - nothing else!
- fish (3.0.0 or higher)
Using Fisher
fisher install adamchristiansen/plecostomus
Filters can be added by modifying the plecostomus_regex_patterns
universal
variable, which is an array of regex patterns to ignore. By default it is
set -U plecostomus_regex_patterns '^ +'
This plugin is simple by design, and supports only regex filtering. It is simple and fast. If more features are needed, consider using: