-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
bug: up arrow still bound with disable-up-arrow
#971
Comments
Same thing happens to me. Seems like I cannot disable up arrow interactions. I'm using BASH. |
shoot- i was coming here hoping i could disable up arrow (for now, as im having issues w atuin messing up my terminal at times). so for now i can offer what ive been doing (as a work around) to disable up arrow. you just manually add the output of also dont forget to remove or comment out the initial as an example here is how the bottom of my .bashrc looks (for now, until atuin get the terminal mess up issue resolved) |
For the record, I updated OP with my current workaround. |
up-arrow
still bound with disable-up-arrow
disable-up-arrow
Thank you for this. Don't know why I didn't think of it sooner. |
by comparing
|
I had the same issue on v16.0.0 using zsh. I had install atuin using antigen |
The workaround worked for me using bash as well. Did delete 1-2 existing atuin lines already on .bashrc that were referring to atuin init bash IIRC |
I'm currently unable to replicate this on either zsh, or on bash Can anyone who had the issue here confirm if it's still happening? If so, I'd really appreciate you sharing your shell config file |
@ellie I still have this issue, version 18.0.2, on a MacBook using zsh. I've added this to the bottom of ~/.zshrc: # eval "$(atuin init zsh --disable-up-arrow)" (tried this on it's own, did not work)
export ATUIN_NOBIND="true"
eval "$(atuin init zsh)"
bindkey '^r' _atuin_search_widget But the up arrow is still bound. |
@Jorrit05 can you share your entire zshrc please? Also, please try reducing your zshrc to only what you have shown there, and confirm that the issue still occurs |
ah well, it works! But only after starting a completely new shell. |
ah yes - sourcing does not clear all existing keybindings, only executes what's in your zshrc. So, the previous binding would still have been there |
I confirm, my steps (found in OP) cannot be reproduced anymore, this issue is now fixed! Thank you for your work on this project! |
When using up arrow while executing a command that does not consume stdin, atuin starts up after the command ended even if it was started with
disable-up-arrow
.Environment
Reproduction steps
eval "$(atuin init zsh --disable-up-arrow)"
sleep 5
Workaround
Use the manual binding (see https://github.com/ellie/atuin/blob/main/docs/docs/config/key-binding.md#zsh):
The text was updated successfully, but these errors were encountered: