-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
z and OS X 10.10.3 don't play nicely together #153
Comments
A workaround would be to install gnu-awk with homebrew ( |
I'd like to help, but I can't reproduce, and I have the same setup:
The problem must lie elsewhere. Any ideas? |
I'm seeing something similar. Installing gnu awk did not seem to help. sw_vers awk --version /usr/bin/awk --version |
What I observe is that it becomes very slow to show the prompt after each command. I did have several folders from a network share in my ~/.z file. Is it possible that there is something that is trying to look at the status/content of those folders? This could make it slow depending on the number of such folders in the ~/.z file and the speed of the network connection. |
I also have a few folders in my ~/.z file whose name starts with a dash '-'. Could this be confusing something in _z? I know I often end up have to take special steps to stop shell commands from misinterpreting them. |
Doing some experiments with a traffic shaping tool, it seemed to happen when the current directory is on a network mounted drive. I know, no surprise. But, OS X's Terminal.app's inspector shows the awk command mentioned by the OP as running during that time. That said, I'm pretty sure it has happened to me when the current directory wasn't on a network share. |
FWIW I was seeing some slowdown with z and 10.11.3 and installing gawk from homebrew and setting my path to |
|
I identified the exact same line "awk -v -path=...." as seeming to block my system but this time on ArchLinux. Or at least, awk is using something that blocks the IO. /usr/bin/awk points to /usr/bin/gawk. I also did suspect some network shares and investigate. Otherwise I will try and disable the autocompletion to see if things get better. |
Switching to a new directory which z has seen before in OS X 10.10.3 causes the terminal to freeze. The command that causes the issue is of the form:
I'm not sure if the awk version changed, or what, but whenever I cd to a new directory, my shell dies. The culprit is on line 55 of z.sh.
The text was updated successfully, but these errors were encountered: