{"id":26038867,"url":"https://github.com/scnewma/fish-hist-import","last_synced_at":"2026-04-19T02:05:20.465Z","repository":{"id":280685711,"uuid":"942825834","full_name":"scnewma/fish-hist-import","owner":"scnewma","description":"A tool to import ZSH history into FISH, converting commands and expanding aliases for seamless transition between shells.","archived":false,"fork":false,"pushed_at":"2025-03-04T18:37:14.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T19:33:12.339Z","etag":null,"topics":["fish","history","rust","shell","zsh"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scnewma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-03-04T18:29:19.000Z","updated_at":"2025-03-04T18:37:17.000Z","dependencies_parsed_at":"2025-03-04T19:43:27.570Z","dependency_job_id":null,"html_url":"https://github.com/scnewma/fish-hist-import","commit_stats":null,"previous_names":["scnewma/fish-hist-import"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Ffish-hist-import","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Ffish-hist-import/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Ffish-hist-import/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scnewma%2Ffish-hist-import/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scnewma","download_url":"https://codeload.github.com/scnewma/fish-hist-import/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242378228,"owners_count":20118175,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fish","history","rust","shell","zsh"],"created_at":"2025-03-07T10:37:52.724Z","updated_at":"2026-04-19T02:05:20.417Z","avatar_url":"https://github.com/scnewma.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fish-hist-import\n\n`fish-hist-import` is a tool that helps you import your ZSH history into FISH. It reads your ZSH history file, converts the commands to FISH syntax, expands aliases, and converts ZSH-specific syntax to FISH syntax.\n\n## Prerequisites\n\nBefore you can use `fish-hist-import`, you need to have the Rust toolchain installed. You can install it via [rustup](https://rustup.rs/).\n\n## Installation\n\nTo install `fish-hist-import`, clone the repository and build the project using Cargo:\n\n```sh\ngit clone git@github.com:scnewma/fish-hist-import.git\ncd fish-hist-import\ncargo install --path .\n```\n\nReplace `\u003crepository-url\u003e` with the URL of your repository.\n\n## Usage\n\nOnce installed, you can run the `fish-hist-import` binary to import your ZSH history into FISH:\n\n```sh\nfish-hist-import\n```\n\nThe tool will read the `HISTFILE` from ZSH, convert the commands, and append them to your FISH history file located at `~/.local/share/fish/fish_history`.\n\n## Configuration\n\n`fish-hist-import` reads the `HISTFILE` environment variable from ZSH to locate your ZSH history file. Make sure this variable is set correctly in your ZSH configuration.\n\n## Limitations\n\n- The conversion from ZSH to FISH is basic and uses string replacement. This may lead to incorrect replacements, such as replacing `\u0026\u0026` in the middle of a string.\n- The tool does not handle all edge cases and may not work perfectly for all ZSH commands.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## Credits\n\nThis project was inspired by [rsalmei/zsh-history-to-fish](https://github.com/rsalmei/zsh-history-to-fish).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscnewma%2Ffish-hist-import","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscnewma%2Ffish-hist-import","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscnewma%2Ffish-hist-import/lists"}