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

Error when entering any directory #38

Closed
devinsba opened this issue Nov 17, 2015 · 6 comments
Closed

Error when entering any directory #38

devinsba opened this issue Nov 17, 2015 · 6 comments
Labels

Comments

@devinsba
Copy link

This is happening with the latest master branch installed as an anitgen bundle

_autoenv_debug:local:1: not valid in this context: handler:
@blueyed
Copy link
Collaborator

blueyed commented Nov 17, 2015

Does changing the line to local msg="$1" help (in _autoenv_debug)?
How did you install it exactly?

@devinsba
Copy link
Author

Yes, that fixes it.

I have in my zshrc which clones the master branch:

antigen bundle Tarrasch/zsh-autoenv

I have this problem on both my debian box at home and my OSX box here at work.

I'm on zsh 5.0.5 (x86_64-apple-darwin14.0) here at work if that helps

@blueyed
Copy link
Collaborator

blueyed commented Nov 18, 2015

Can you provide the output of setopt, to see if there is some option triggering this?

@devinsba
Copy link
Author

I'm not completely sure what I am looking at here. This is the options from a shell with the plugin loaded. The list is the same when I disable the plugin

% setopt
alwaystoend
autocd
autopushd
cdablevars
completeinword
extendedhistory
noflowcontrol
histexpiredupsfirst
histignoredups
histignorespace
histverify
incappendhistory
interactive
interactivecomments
login
longlistjobs
monitor
promptsubst
pushdignoredups
pushdminus
sharehistory
shinstdin
shwordsplit
zle

@blueyed
Copy link
Collaborator

blueyed commented Nov 18, 2015

It's triggered by shwordsplit, which appears to trigger a bug in Zsh 5.0.5 (could not reproduce it with 5.1.1).

Thanks for the report!

@devinsba
Copy link
Author

Awesome, thanks

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

No branches or pull requests

2 participants