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
awk: invalid -v option [OS X Lion] #640
Comments
Will this be fixed? Is there any work-around? |
+1 I'm having the same issue. |
I have the same issue with various other tools (for instance svn) |
+1, the same issue :( |
This bug is fixed in the sorin's fork. When they merge for 2.0, all be right again |
Still having this issue. |
+1 - please fix this, it's very annoying. |
+1 here. Any workahound? |
+1 here -- please fix |
Try using brew install gawk |
That worked, thank you. |
Same as @kemist, fixed the issue |
+1, why not put a space after "-v"? see there => http://www.zsh.org/mla/workers/2013/msg00023.html |
@lajarre I installed gawk with brew but that didn't help. I also can't find the line in plugings/django/django.plugin.zsh |
Thanks @humiaozuzu. @dschien I had to symlink awk to gawk. It probably didn't work for you because /usr/bin/awk is in your path before /usr/local/bin/gawk. |
As @jcelliott I needed to symlink awk to gawk and now it works. |
I found the 'awk -vdrop' in /usr/share/zsh/5.0.2/functions/_django 62 line, therefore I modified it to 'awk -v drop' and reloaded zsh. Now the autocompletion is good. |
Had the same issues, fixed using Although it appears the issue was patched back in Jan of 2013: zsh-users/zsh@0969fb9 |
Thank you @thornomad for going the extra mile and checking the homebrew installation and the zsh repo ✨ You should try zsh 5.0.6, it's definitely solved there (though in 5.0.5 it was too), and it should also be available via brew |
I fixed it by brew install gawk |
When attempting to auto-complete "./manage runserver" in a Django Project root folder, an awk error pops up:
(venv)➜ project git:(master) ./manage.py runs➜awk: invalid -v option
erver
Although it manages to complete the option, it seems awk does not support the -v flag on OS X Lion.
The text was updated successfully, but these errors were encountered: