Hello there, I have zsh as my default shell with ohmyzsh. Something weird happened yesterday. After a logout and re-login my zsh started to show me the suggestions just from that day. I checked my .zsh_history
and everything is there so my history didn’t get deleted. I have no idea about what caused that it’s still just showing suggestions from yesterday and today and I don’t know how to fix it. Any ideas?
share .zshrc
Is there some weird entry in the history file ?
Try to find the last entry you can reach, and look above
No doesn’t seem like it all ordinary.
Ew. Hardcoded ads.
Maybe try some others in the future;
https://dpaste.com/
https://paste.c-net.org/
to name only a few.
Also heres this:
[HowTo] use public command-line pastebin services without installing anything!
plugins=(git zsh-autosuggestions zsh-syntax-highlighting per-directory-history command-not-found colorize colored-man-pages)
have you installed any of these from aur??
No, not that I’m aware of, I don’t know what ohmyzsh does.
One thing I realized fc -l 1
starts to show results from 744 instead of 1 and it changes every time I restart my computer. For example, as a guess, it would start from 761 next time I boot my PC.
Edit: My guess was right, in fact, I don’t even need to reboot my PC, just restarting the terminal increases the number.