zsh-autoenv icon indicating copy to clipboard operation
zsh-autoenv copied to clipboard

Does't trigger when I entered the folder

Open zhouhao27 opened this issue 2 years ago • 2 comments

This is what I did:

  • Install zplug

curl -sL --proto-redir -all,https https://raw.githubusercontent.com/zplug/installer/master/installer.zsh | zsh

  • configure it in .zshrc:
source ~/.zplug/init.zsh
zplug "Tarrasch/zsh-autoenv"
zplug load --verbose
  • Add .autoenv.zsh in my folder, for example, ~/project folder
echo 'Hello world!'

Then when I cd ~/project folder, nothing happened. Can anybody tell what I did wrongly? Thanks.

zhouhao27 avatar Mar 23 '23 02:03 zhouhao27

Try export AUTOENV_DEBUG=1 (up to 3) to see if it does anything. It should ask for confirmation when sourcing it the first time.

blueyed avatar Mar 23 '23 17:03 blueyed

I add export AUTOENV_DEBUG=1 in .zshrc. When I open a new shell, it shows:

[zplug] Loaded from cache (/Volumes/T7/Users/xxxxx/.zplug/cache)
[zplug] Run compinit

But when I cd ~/projects, nothing happened.

zhouhao27 avatar Mar 24 '23 01:03 zhouhao27