2024-11-27 14:00:11 -08:00
|
|
|

|
|
|
|
|
2025-02-01 23:14:24 -08:00
|
|
|
<sub>Fishee Logo By [Caspian Rahmanian](https://github.com/ducktinio)</sub>
|
|
|
|
|
2024-11-16 20:15:01 -08:00
|
|
|
# Fishee
|
|
|
|
|
2024-11-27 00:07:42 -08:00
|
|
|
Fishee CLI Tool for Fish Shell
|
|
|
|
|
|
|
|
## About Fishee
|
|
|
|
|
2025-02-01 23:14:24 -08:00
|
|
|
So I have been a user of Fish Shell for quite a while now and really enjoy using it.
|
2024-11-27 00:07:42 -08:00
|
|
|
|
|
|
|
So I decided to write this CLI tool for Fish Shell that helps me manage my fish history.
|
|
|
|
|
|
|
|
## Features
|
|
|
|
|
|
|
|
- Print my fish history
|
|
|
|
- Merge two history files into one
|
|
|
|
- Useful for when you want to add fish history from one computer to another
|
|
|
|
- remove duplicates from history file when merging
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
In terminal run:
|
|
|
|
|
2025-02-01 23:14:24 -08:00
|
|
|
```bash
|
2024-11-27 00:07:42 -08:00
|
|
|
fishee --help
|
|
|
|
```
|
|
|
|
|
|
|
|
```
|
|
|
|
USAGE: fishee [--history-file <history-file>] [--merge-file <merge-file>] [--output-file <output-file>] [--dry-run] [--remove-duplicates] [--backup] [--no-backup]
|
|
|
|
|
|
|
|
OPTIONS:
|
|
|
|
-f, --history-file <history-file>
|
|
|
|
Location of your fish history file. Will default to
|
|
|
|
~/.local/share/fish/fish_history
|
|
|
|
-m, --merge-file <merge-file>
|
|
|
|
File path to file to merge with history file.
|
|
|
|
-w, --output-file <output-file>
|
|
|
|
File to write to. Default: same as current history
|
|
|
|
file.
|
|
|
|
-d, --dry-run Dry run. Will only print to the console without
|
|
|
|
actually modifying the history file.
|
|
|
|
-r, --remove-duplicates Remove duplicates from combined history. Default:
|
|
|
|
false
|
|
|
|
-b, --backup/--no-backup
|
|
|
|
Backup fish history file given before writing.
|
|
|
|
(default: --backup)
|
2025-02-01 23:14:24 -08:00
|
|
|
-h, --help
|
2024-11-27 00:07:42 -08:00
|
|
|
```
|