Open oconnor663 opened 7 months ago
(first, thanks for your work on BLAKE3)
It's possible that zsh inserted the backslashes into the history to make it clear that they are a single multiline command and not many single line commands. I need to double check the code/zsh histfile.
In general, bash/zsh/fish histfiles are full of ambiguous/weird cases. Why couldn't they just use jsonlines...
I don't have this issue because zsh rewrites my multiline commands into one line in the history but I do remember this kind of issue happened to me somewhere (not atuin) in the past.
Why couldn't they just use jsonlines...
Because JSON was born too late :-)
Solution in #98 helped, but this needs to be addressed in the zsh import code.
I had this command in my Zsh history:
I then ran
atuin import zsh
and puteval "$(atuin init zsh)"
in my.zshrc
. Now when I ctrl-R and pull up that command, it looks like this:It looks like some backslashes are getting inserted into the command that shouldn't be there. Some sort of escaping bug?