-
-
Notifications
You must be signed in to change notification settings - Fork 261
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
Invalid $OLDPWD: command "cd -" not working anymore #141
Comments
This allows to use cd - Closes hyperupcall#141
Does #145 fix this for you? |
I'm having the same issue, but I'm not sure whether that may be my zsh setup or not... |
So basically what I did to fix this for me was moving this line: https://github.com/kennethreitz/autoenv/blob/7eb70eca0039f757525a2f88f008e647a492d7f1/activate.sh#L14 into the subshell:
Afterwards the value of |
Also suddenly noticed Took a fair amount of Googling to find this, the patch fixes the issue for me as well. EDIT: Clarify, "the patch" is #149 |
As #149 is merged, is this fixed for you? |
When homebrew user, while waiting for a new release to be pushed, something like this formalu may help: https://gist.github.com/carhartl/495c498aa1a1ef8a561d2ad53c52b3d6 You'd need to execute |
Though yeah, might be easier to source activate.sh from somewhere else! |
And the easiest seems to be:
|
Yes, issue now seems resolved by installing from EDIT: (I am unable to close as I didn't open, @poncki may be able to though.) |
I just came across this problem myself, and installing from HEAD has worked. Can there please be a stable release soon to homebrew? |
This just got me as well. Would be really great to get a new release out. |
Hello.
While fixing #125 an error was introduced in ae84a55.
After
cd <dir>
the $OLDPWD variable is set to a wrong value (a new directory, not the old one) andcd -
is not working anymore. Probably this is an effect of setting $PWD in line 14...pnc
The text was updated successfully, but these errors were encountered: