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

Repository

uniq_history.cr

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 1 year ago
  • May 30, 2016
License

MIT License

Links
Synced at

Wed, 02 Jul 2025 21:15:57 GMT

Languages