I narrowed down, that the failing command in .bashrc is eval “$(atuin init bash)”.
I belief, the atuin init bash script that it tries to evaluate causes the error at this line:
elif [[ $- != i ]]; then
# Enable only in interactive shells
false
After every command it complains about this error and doesn’t add the command to the history. If I run something from the history, the problem is gone and atuin works like it should.
I do not understand, what exactly is going wrong, nor how to solve this. Can anybody help me with this issue?
Just a drive-by observation here; that error message suggests that there’s a subtraction evaluation happening, i.e. something - somethingelse and the somethingelse is missing. The something, here the value 1725026352513710, looks like a (longer version of a) Unix epoch timestamp. And the only place I can see in atuin.bash that does this sort of thing is in __atuin_precmd() here: