Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Weird history behavior



On Tue, Jun 7, 2022 at 12:24 PM Adam Cooper <adam@xxxxxxxxxxxxxxxxx> wrote:
>
> After installing xmonad on an Arch Linux system, my zsh history has begun to misbehave. HISTFILE is read from .zshenv after logging into the console, but once I start xmonad and a terminal, HISTFILE is empty.
[...]
> Here is a link to my .zshenv: https://git.theadamcooper.com/adam/dotfiles/src/branch/master/arch/zsh/.zshenv

Well, there's this:
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"

Once that's in the environment, $HOME/.zshenv isn't going to be read
any more, rather, the dot-files in $ZDOTDIR are going to be read
instead ... so you should look there.




Messages sorted by: Reverse Date, Date, Thread, Author