Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 959 Bytes

README.md

File metadata and controls

39 lines (25 loc) · 959 Bytes

Plecostomus

A simple command history filter for the fish shell.

Features

  • 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!

Requirements

  • fish (3.0.0 or higher)

Installation

Using Fisher

fisher install adamchristiansen/plecostomus

Configuration

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 '^ +'

Alternatives

This plugin is simple by design, and supports only regex filtering. It is simple and fast. If more features are needed, consider using: