Open garrett-hopper opened 8 years ago
Looks like it's an issue with zsh:
zsh:1: no matches found: /usr/local/lib/haxe/std/*.hx
Looks like it doesn't quote each path? If that's even the solution?
hxml_sys
> let hxml_sys hxml_sys cd /system/dev/kha/tree; ctags --languages=haxe --exclude=_std -R /usr/share/haxe/std/js/ /usr /local/lib/haxe/std/haxe/ /usr/local/lib/haxe/std/sys/ /usr/local/lib/haxe/std/tools/ /usr/local/lib/haxe/std/*.hx /us r/share/haxe/std/haxe/ /usr/share/haxe/std/sys/ /usr/share/haxe/std/tools/ /usr/share/haxe/std/*.hx Kha/Sources/ \ Kha /Backends/HTML5/ /nix/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/haxe/ /nix/store/g414dsvfghpx9axiva r6psqhhh2v55i8-haxe-3.2/lib/haxe/std/sys/ /nix/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/tools/ /ni x/store/g414dsvfghpx9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/*.hx /usr/local/lib/haxe/std/js/ /nix/store/g414dsvfghp x9axivar6psqhhh2v55i8-haxe-3.2/lib/haxe/std/js/ /usr/local/lib/haxe/extraLibs/ Sources/ /usr/lib/haxe/extraLibs/ /usr/ lib/haxe/std/js/ /usr/lib/haxe/std/haxe/ /usr/lib/haxe/std/sys/ /usr/lib/haxe/std/tools/ /usr/lib/haxe/std/*.hx;
Running on NixOs, fyi.
Possible solutions would be bash -c $hxml_sys
perhaps?
update: Actually, I don't think that the solution I have below works. I even tried placing the option into the system's zsh config files to no avail. I've just used Jumblemiddle's solution (as implemented by jonasmalacofilho), which seems to work.
I just ran into this issue as well, but I did not get any error: the tags file simply failed to generate. I only discovered the cause by pasting the generated ctags command into my terminal and getting the zsh error from there.
It's hard to say whether the appropriate place for a fix would be within the vaxe code or within the individual's zsh config. As it turns out, zsh will also balk at urls in curl
commands and other common actions.
The fix I chose to go with was to add the CSH_NULL_GLOB
option to my .zshrc
. It fixes the vaxe ctags issue, and although it may not remedy errors in other commands, it seems to me more reasonable behavior than what it did previously.
Link to zsh documentation: http://zsh.sourceforge.net/Doc/Release/Options.html#Expansion-and-Globbing
Runne :VaxeCtags I get an error:
How can I view what this error actually was?