mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-27 03:05:39 +01:00
adding hxKraut's haxe and haxelib zsh plug-in and auto-completion
This commit is contained in:
parent
96e4e5dd03
commit
91c5599fd7
3 changed files with 165 additions and 0 deletions
23
plugins/haxe/_haxe
Normal file
23
plugins/haxe/_haxe
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
#compdef haxe
|
||||
#autoload
|
||||
|
||||
_arguments -C \
|
||||
'1::Haxe ML buildfile:_path_files -/ -g "*.hxml"' \
|
||||
'(-cp)-cp[add a classpath]:enter the classpath:_path_files -/' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-js[compile to javascript]:enter the destination file:_path_files -/ -g "*.js"' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-swf[compile to a swf]:enter the destination file:_path_files -/ -g "*.swf"' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-as3[compile to actionscript]:enter the destination directory:_path_files -/' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-neko[compile to neko binary]:enter the destination file:_path_files -/ -g "*.n"' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-php[compile to php]:enter the destination directory:_path_files -/' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-cpp[compile to C++]:enter the destination directory:_path_files -/' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-cs[compile to C#]:enter the destination directory:_path_files -/' \
|
||||
'(-swf -js -neko -php -cpp -as3 -cs -java)-java[compile to Java]:enter the destination directory:_path_files -/' \
|
||||
'(-xml)-xml[generate xml types description]:output file:_path_files -/ -g "*.xml"' \
|
||||
'(-main)-main[startup class]' \
|
||||
'-lib[additional libraries]' \
|
||||
'-D[compilation flag]' \
|
||||
'(-v)-v[verbose mode]' \
|
||||
'(-debug)-debug[compile with debugging symbols]' \
|
||||
'(-help --help)'{-help,--help}'[shows list of available commands]'
|
||||
|
||||
return 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue