DenBeke / fish-history-to-zsh

Migrate the Fish shell history to Zsh history format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fish shell history ==> Zsh history

Migrating from Fish shell to Zsh? Need your history? Just convert it to the correct format.

Clone it, install NPM dependencies (nvm use && npm i) and...

node index.js >> ~/.zsh_history

to append it to your .zsh_history.

or run a docker container

docker build -t fish-history-to-zsh .
docker run --rm -v $HOME/.local/share/fish/fish_history:/root/.local/share/fish/fish_historye fish-history-to-zsh >> ~/.zsh_history

Have fun!

About

Migrate the Fish shell history to Zsh history format


Languages

Language:JavaScript 86.9%Language:Dockerfile 13.1%