denisidoro / navi

An interactive cheatsheet tool for the command-line
Apache License 2.0
15.22k stars 507 forks source link

Allow shell history with atuin shell history tool #836

Open bevsxyz opened 1 year ago

bevsxyz commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Atuin is a shell history tool written in rust. It stores the shell history in a local SQLite database, with an option to sync it across devices. Currently, it is not possible to populate the navi cheats into shell history of atuin. I would like to propose an integration.

Describe the solution you'd like A clear and concise description of what you want to happen. If we can emulate a command execution, then atuin would populate the command in its database.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. If the atuin team has an interface to insert commands externally, then we could just use a bash function to populate history. I have created an issue at the atuin repo to see the available options. https://github.com/ellie/atuin/issues/919

Additional context Add any other context or screenshots about the feature request here.

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)