-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Freeze when running activate.sh on Mac Catalina OS #188
Comments
I have the same issue |
I did a little debugging on this and it seems One quick fix is to hard code line 15 to Anyway, I'm not an expert in shell scripting but I'm happy to help if you can guide me in the right direction. |
Setting line 15 |
The diff is in the On Catalina:
On Mojave:
|
On my system I've addressed this by adding a second break condition: index 6553e98..18d3d33 100755
--- a/activate.sh
+++ b/activate.sh
@@ -32,6 +32,7 @@ ${_file}"
fi
fi
[ "$(\pwd -P)" = "${_mountpoint}" ] && \break
+ [ "$(\pwd -P)" = "/" ] && \break
\command -v chdir >/dev/null 2>&1 && \chdir "$(\pwd -P)/.." || builtin cd "$(pwd -P)/.."
done
)``` |
It seems Catalina is using a new "bi-directional wormhole in path traversal" called firmlinks. I've not found any tools which are firmlink-aware... |
Further to the comments here, I was having a lot of trouble with And I have also implemented the change recommend by meermanr. But changing to a new directory prompts with the " Well, it appears that Solution: put a backslash on the front of the |
It does work for |
@J-Liu the quick fix proposed by @sennav works for both the
I think the issue here is that as @martnu have showed us, the |
@teddyhartanto |
@J-Liu have you done |
@teddyhartanto |
For future reference, the autoenv version available in homebrew is outdated and does not contain the fixes in #190. I manually changed the |
I mentioned this #189 but let me mentioned this here again. Does anybody experiencing a longer wait in changing directories or with autocomplete when changing directories. While autoenv disabled changing directories is instantaneous, but with autoenv it takes up to 3-4 seconds and with autocomplete as well. It sometimes unbearable. Also affected some of my bash scripts. |
@inishchith Given @Dahie's comment above, maybe it's time for a 0.2.2 release (or something)? |
I've solved the freezed problem replace |
I just installed from brew and this issue is still present. |
Same. Bump for this:
|
Hey guys! Just wanted to let u know that to this date; this is still a problem. Versions: macOS Catalina - 10.15.6 (19G73), autoenv: stable 0.2.1, HEAD (via homebrew) Hope it helps someone out there,... Cheers! |
Hello This problem has already been fixed and Merge on Master Branch. |
Hello.
Updated to Mac Catalina OS. I've tested it on more than one Mac and have the same thing.
The text was updated successfully, but these errors were encountered: