atuinsh / atuin

✨ Magical shell history
https://atuin.sh
MIT License
20.17k stars 546 forks source link

After atuin is successfully installed, the up key cannot be used to recall the command history. #1504

Closed Jackwew closed 8 months ago

Jackwew commented 8 months ago

After successful installation, the up key cannot be used to call up the command history list.

bash version image

Environment variable configuration image

atuin version atuin 17.2.1

Machine information image

ellie commented 8 months ago

Is there any chance you could upgrade to a newer bash? We can try and debug this for you otherwise, but Atuin will work much better with a newer version of bash (>5 is ideal)

Are you using bash-preexec or blesh?

akinomyoga commented 8 months ago

@Jackwew In the second image, you seem to have the line export ATUIN_NOBIND="true" in your .bashrc. This disables all the keybindings automatically set up by Atuin. That is, with that line, the up key will not work unless you manually set up the keybindings to up. Could you try removing the line export ATUIN_NOBIND="true"?

Jackwew commented 8 months ago

@ellie Thank you for your answer. It can now function normally