This is to reproduce a bug in either zsh
, or zsh-autocorrect
.
./setup.sh
-- clones the zsh-autocorrect plugin./fake-home.sh
-- starts zsh with the current directory as HOME
Steps to reproduce:
- Press
^R
to start searching backwards. - Type "hi" -- You should get
echo "hi 6"
- Press
^R
again and see that it doesn't search backwards through the history.
I expect it to search backwards through echo "hi 5"
... echo "hi 1"