Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does't trigger when I entered the folder #99

Open
zhouhao27 opened this issue Mar 23, 2023 · 2 comments
Open

Does't trigger when I entered the folder #99

zhouhao27 opened this issue Mar 23, 2023 · 2 comments

Comments

@zhouhao27
Copy link

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.

@blueyed
Copy link
Collaborator

blueyed commented Mar 23, 2023

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.

@zhouhao27
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants