diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-17 15:47:41 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2012-08-17 15:47:41 +0000 |
commit | 6bd2befae7791c5ee2343d01ac51d631e6f44f7c (patch) | |
tree | f0555c2a444b56945477291607eb0feab0680833 /Completion | |
parent | 3bc4f8f6a26b3d7f367a419e0a0dac3563766821 (diff) | |
download | zsh-6bd2befae7791c5ee2343d01ac51d631e6f44f7c.tar.gz zsh-6bd2befae7791c5ee2343d01ac51d631e6f44f7c.tar.xz zsh-6bd2befae7791c5ee2343d01ac51d631e6f44f7c.zip |
Stepan Koltsov: 30632: new _clay completion
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Unix/Command/.distfiles | 1 | ||||
-rw-r--r-- | Completion/Unix/Command/_clay | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles index f5a9c1266..d8cb93965 100644 --- a/Completion/Unix/Command/.distfiles +++ b/Completion/Unix/Command/.distfiles @@ -27,6 +27,7 @@ _cdrecord _chkconfig _chmod _chown +_clay _comm _compress _configure diff --git a/Completion/Unix/Command/_clay b/Completion/Unix/Command/_clay new file mode 100644 index 000000000..71f05bf64 --- /dev/null +++ b/Completion/Unix/Command/_clay @@ -0,0 +1,42 @@ +#compdef clay + +# Completion for the Clay Programming Language +# http://claylabs.com/clay/ + +_arguments -C \ + "-o:specify output file:_files" \ + "-target:set target platform for code generation" \ + "-shared[create a dynamically linkable library]" \ + "-emit-llvm[emit llvm code]" \ + "-S[emit assembler code]" \ + "-c[emit object code]" \ + "-D-:set flag value" \ + "-O-:set optimization level:(0 1 2 3)" \ + "-g[keep debug symbol information]" \ + "-exceptions[enable exception handling]" \ + "-no-exceptions[disable exception handling]" \ + "-inline[inline procedures marked 'forceinline']" \ + "-no-inline[ignore 'inline' and 'forceinline' keyword]" \ + "-import-externals[include externals from imported modules]" \ + "-no-import-externals[don't include externals from imported modules]" \ + "-pic[generate position independent code]" \ + "-abort[abort on error (to get stacktrace in gdb)]" \ + "-run[execute the program without writing to disk]" \ + "-timing[show timing information]" \ + "-full-match-errors[show universal patterns in match failure errors]" \ + "-log-match:log overload matching behavior for calls" \ + "-arch:build for Darwin architecture <arch>" \ + "-F-:add <dir> to framework search path:_files -/" \ + "-framework:link with framework <name>" \ + "-L:add <dir> to library search path:_files -/" \ + "-Wl,-:pass flags to linker" \ + "-l-:link with library <lib>" \ + "-I+:add <path> to clay module search path:_files -/" \ + "-deps[keep track of the dependencies of the currently]" \ + "-no-deps[don't generate dependencies file]" \ + "-o-deps:write the dependencies to this file" \ + "-e:compile and run <source> (implies -run)" \ + "-M-:import <module>.*; for -e" \ + "-v[display version info]" \ + ":program file:_files -g '*.clay'" + |