/uniq_history.cr

De-duplicate output of history. POC to try crystal-lang out

Primary LanguageCrystalMIT LicenseMIT

uniq_history

Filters the output of the history command, to remove duplicated commands, keeping the first appearance

Installation

This project requires crystal installed locally. The version is governed by .tool-versions, as defined by asdf.

To run specs:

$ make

To install:

$ make install

Usage

$ history | uniq_history

Contributing

  1. Fork it ( https://github.com/ylansegal/uniq_history/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors