Skip to content

t4ccer/afterrain

Repository files navigation

afterrain

After rain comes rainbow, and with rainbow come colors. Add some colors to your terminal with afterrain.

Installation

Requirements:

  • Stack
git clone https://github.com/t4ccer/afterrain
cd afterrain
stack build --copy-bins

Usage

Hoogle output highlighting:

alt text

hoogle <command> | aft hoogle

OR

Add this to your .bashrc

hs(){
  hoogle "$@" | aft hoogle
}
hs <command>

Configuration

Config file is located in $HOME/.afterrain.yaml, and is created automatically after the first run.
Fields suffixed with color256 applies for 256 color terminals and with color8 suffix for 8 color terminal. Values for 8 color terminal must be prefixed with E.

Supported features

  • Hoogle highlighting
  • Highlight customization

Planned features

  • More programs support

Releases

No releases published