zsh-users / antigen

The plugin manager for zsh.
http://antigen.sharats.me
MIT License
8.09k stars 280 forks source link

$ADOTDIR not working #741

Closed ignamartinoli closed 1 year ago

ignamartinoli commented 2 years ago

Description

I have this in my .zshenv

export XDG_DATA_HOME="$HOME/.local/share"

export ADOTDIR="$XDG_DATA_HOME/antigen"

When I move $HOME/.antigen to $HOME/.local/share/antigen and run antigen update the $HOME/.antigen gets created again.

Steps to reproduce

Minimal steps to reproduce this behavior. Example:

1 - `export XDG_DATA_HOME="$HOME/.local/share"`
2 - `export ADOTDIR="$XDG_DATA_HOME/antigen"`
3 - `mv $HOME/.antigen $XDG_DATA_HOME/antigen`
4 - `antigen update`

Expected behavior:

- Antigen to update and leave my `$HOME` alone

Software version

Configuration