mattmc3 / zephyr

:wind_face: A Zsh framework as nice as a cool summer breeze
MIT License
128 stars 13 forks source link

bootstrap.zsh seems to override variables #21

Closed jwalton512 closed 8 months ago

jwalton512 commented 8 months ago

It's quite possibly user error, but if so, I can't figure out what I'm doing wrong.

I have the following:

# .zprofile
...
export __zsh_config_dir=${ZDOTDIR:-$HOME}/.dotfiles/zsh

# .zsh_plugins.txt
...
mattmc3/zephyr path:plugins/confd

When I open a new terminal, __zsh_config_dir is updated to /Users/jason/.config/zsh If I comment out the plugin, and reopen the terminal, __zsh_config_dir remains unchanged.

It seems like it's happening here My goal is to get the confd plugin to look for configs in a different folder.

mattmc3 commented 8 months ago

Thanks @jwalton512. Pushed a fix.