uniq_history.cr

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

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

Owner
github statistic
  • 0
  • 0
  • 0
  • 0
  • 11 days ago
  • May 30, 2016
License

MIT License

Links
Synced at

Mon, 02 Aug 2021 06:31:09 GMT