Lost shell history
Source: Troubleshooting reference
Zsh history lives at ~/.zsh_history (the conventional default; survives any ~/.local cleanup). Bash history at ~/.bash_history. The bash sidecar command log (richer: timestamps, exit codes, cwd) at ~/.bash_log — search via bash_log_search <pattern>.
If you have history under the old location (~/.local/state/{zsh,bash}/), one-time migrate:
[ -f ~/.local/state/zsh/history ] && mv ~/.local/state/zsh/history ~/.zsh_history[ -f ~/.local/state/bash/history ] && mv ~/.local/state/bash/history ~/.bash_history[ -f ~/.local/state/bash/log ] && mv ~/.local/state/bash/log ~/.bash_log