Bring your ZSH history to Fish shell.
Project description
Bring your ZSH history to Fish shell
This is a simple tool to ease the migration from ZSH to Fish shell, without losing your hard earned history commands.
As I was migrating myself, I've found out there's no tool to do this automatically, so I've made one for my own use. For that, I had to search for the specifications of both history files, and ended up involved in multiple threads with the right devs to try to understand and make it work. In the process, I've stumbled upon several people interested in a such a tool.
Well, it have worked! So I've wrapped it in a python lib to make it easy to use, and now I'm sharing with anyone who may need it.
Get it
Just do in your zsh shell:
$ pip install zsh-history-to-fish
How to use
$ zsh-history-to-fish --help
Usage: zsh-history-to-fish [OPTIONS] [INPUT]
Bring your ZSH history to Fish shell.
Options:
--version Show the version and exit.
-o, --output PATH Optional output, will append to fish history by default
-d, --dry-run Do not write anything to filesystem
-n, --no-convert Do not naively convert commands
--help Show this message and exit.
License
This software is licensed under the MIT License. See the LICENSE file in the top distribution directory for the full license text.
Did you like it?
Thanks for your interest!
I wish you have fun using this tool! :)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zsh-history-to-fish-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa890ef43aa542303ca1996b2649eb225c4e7437c48a9c23bc033cf8d4a2e463 |
|
MD5 | f85487badb7942df2eab39bae3659c5a |
|
BLAKE2b-256 | c3119c1b107c687a86923830f92c3e5d947af67726d708d820bc5e842b8b941d |
Hashes for zsh_history_to_fish-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8cc54eccbd6fee7c65a99e5e274186087b21dbca7c3cdae9bcae3963507943a |
|
MD5 | fed2cc9e62a54a77d48384ff67feca28 |
|
BLAKE2b-256 | f0d54231f4a1c600cc15bac079c5d485e2041587602673ecfa13674ad7e6a868 |