Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Weird history behavior
- X-seq: zsh-users 27838
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Weird history behavior
- Date: Tue, 7 Jun 2022 22:02:22 -0700
- Archived-at: <https://zsh.org/users/27838>
- In-reply-to: <20220607192350.znejys3gs4kakjw7@marcos.localdomain>
- List-id: <zsh-users.zsh.org>
- References: <20220607192350.znejys3gs4kakjw7@marcos.localdomain>
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