mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-29 19:12:20 +01:00
Stepan Koltsov: 30632: new _clay completion
This commit is contained in:
parent
3bc4f8f6a2
commit
6bd2befae7
3 changed files with 51 additions and 2 deletions
10
ChangeLog
10
ChangeLog
|
|
@ -1,6 +1,12 @@
|
|||
2012-08-17 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 30632
|
||||
* Stepan Koltsov: 30632
|
||||
(https://raw.github.com/stepancheg/zsh/bfa81caaac44dacfa05adb77f61526ea90346219/Completion/Unix/Command/_clay):
|
||||
Completion/Unix/Command/_clay,
|
||||
Completion/Unix/Command/.distfiles:
|
||||
new completion.
|
||||
|
||||
* Stepan Koltsov: 30632
|
||||
(https://github.com/stepancheg/zsh/commit/b0f1427e4983be6dfdc07ccaf86f153d5f9959b9.patch):
|
||||
Completion/Unix/Command/_gcc: aliases and clang-specific flags.
|
||||
|
||||
|
|
@ -77,5 +83,5 @@
|
|||
|
||||
*****************************************************
|
||||
* This is used by the shell to define $ZSH_PATCHLEVEL
|
||||
* $Revision: 1.5702 $
|
||||
* $Revision: 1.5703 $
|
||||
*****************************************************
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ _cdrecord
|
|||
_chkconfig
|
||||
_chmod
|
||||
_chown
|
||||
_clay
|
||||
_comm
|
||||
_compress
|
||||
_configure
|
||||
|
|
|
|||
42
Completion/Unix/Command/_clay
Normal file
42
Completion/Unix/Command/_clay
Normal file
|
|
@ -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'"
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue