Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/2m/history-of-fishing

Merge and verify Fish Shell history files
https://github.com/2m/history-of-fishing

Last synced: 22 days ago
JSON representation

Merge and verify Fish Shell history files

Awesome Lists containing this project

README

        

# [history-of-fishing][] [![ci-badge][]][ci] [![gitter-badge][]][gitter]

[history-of-fishing]: https://github.com/2m/history-of-fishing
[ci]: https://github.com/2m/history-of-fishing/actions
[ci-badge]: https://github.com/2m/history-of-fishing/workflows/ci/badge.svg
[gitter]: https://gitter.im/2m/general
[gitter-badge]: https://badges.gitter.im/2m/general.svg

History of Fishing (or `hof`) is a CLI application that works with the [Fish Shell][] history files.

[Fish Shell]: https://fishshell.com

## Features

* merges arbitrary number of Fish Shell history files
* verifies Fish Shell history file that it contains only increasing timestamps

## Installation

Download latest binaries from the GitHub releases:

```
# macOS
> curl -L -o ~/.local/bin/hof https://github.com/2m/history-of-fishing/releases/latest/download/hof-x86_64-apple-darwin

# Linux
> curl -L -o ~/.local/bin/hof https://github.com/2m/history-of-fishing/releases/latest/download/hof-x86_64-pc-linux
```

```
> hof version
1.3.2
```

## Usage

[![asciicast-badge][]][asciicast]

[asciicast]: https://asciinema.org/a/NMsCJaq3yd9fJuxnWoIP9cRHu
[asciicast-badge]: https://asciinema.org/a/NMsCJaq3yd9fJuxnWoIP9cRHu.svg

## Acknowledgments

The usage of [decline][] library and setting up [native-image] build was inspired by a very informative [@note][] blogpost [Writing native CLI applications in Scala with GraalVM][].

[decline]: https://github.com/bkirwi/decline
[native-image]: https://www.graalvm.org/docs/reference-manual/native-image/
[@note]: https://github.com/note
[Writing native CLI applications in Scala with GraalVM]: https://msitko.pl/blog/2020/03/10/writing-native-cli-applications-in-scala-with-graalvm.html