Shard Detail

uniq_history v0.1.1

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

Install & Use

Add the following code to your project's shard.yml under:

dependencies to use in production
- OR -
development_dependencies to use in development


uniq_history:
  github: ylansegal/uniq_history.cr

Readme

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