zsh-autoenv
zsh-autoenv copied to clipboard
Does't trigger when I entered the folder
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.zshin my folder, for example,~/projectfolder
echo 'Hello world!'
Then when I cd ~/project folder, nothing happened. Can anybody tell what I did wrongly? Thanks.
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.
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.