-
Notifications
You must be signed in to change notification settings - Fork 498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add executed command in shell history #909
Labels
new feature
New feature or request
Comments
I run navi in zsh on Mac and it pastes the generated command in the command prompt. The command is executed as any other command, after hitting Enter, so it is in the history. I didn't change anything and got it out-of-the-box. Maybe it is a zsh thing? There is also |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
When running a command from navi, this one is not stored into shell history. This behavior forces us to rerun navi if we want to re-run the command.
Describe the solution you'd like
Often, we need to re-run a command because it fails for instance.
As navi doesn't store it into shell history, we cannot do the classic "up arrow" way to have it and re-run it easily.
It could be nice if commands run from navi can be stored into the history
Utopia
It can be even greater if we can have a flag on the command description to tell if the command has to be stored into the history or not. For instance, for sensitive commands, we may not want them to appear into the history
The text was updated successfully, but these errors were encountered: