2005-09-20 21:31:55 +08:00
|
|
|
#Completions for ruby
|
2006-03-02 00:53:47 +08:00
|
|
|
complete -c ruby -s 0 -d (N_ 'Specify record separator')
|
|
|
|
complete -c ruby -s a -d (N_ 'Turn on autosplit mode')
|
|
|
|
complete -c ruby -s c -d (N_ 'Check syntax')
|
|
|
|
complete -c ruby -s K -d (N_ 'Kanji code-set')
|
|
|
|
complete -c ruby -s d -l debug -d (N_ 'Debugger')
|
|
|
|
complete -c ruby -s e -x -d (N_ 'Execute command')
|
|
|
|
complete -c ruby -s h -l help -d (N_ 'Display help and exit')
|
|
|
|
complete -c ruby -s F -d (N_ 'Set regexp used to split input')
|
|
|
|
complete -c ruby -s i -d (N_ 'Edit files in-place')
|
|
|
|
complete -c ruby -s I -d (N_ 'Include path')
|
|
|
|
complete -c ruby -s l -d (N_ 'Automatic line ending processing')
|
|
|
|
complete -c ruby -s n -d (N_ 'Loop script')
|
|
|
|
complete -c ruby -s p -d (N_ 'Loop script, print $_')
|
|
|
|
complete -c ruby -s r -r -d (N_ 'Require file')
|
|
|
|
complete -c ruby -s s -d (N_ 'Define custom switches')
|
|
|
|
complete -c ruby -s S -d (N_ 'Search $PATH for script')
|
|
|
|
complete -c ruby -s T -d (N_ 'Taint checking')
|
|
|
|
complete -c ruby -s v -l verbose -d (N_ 'Verbose mode')
|
|
|
|
complete -c ruby -s w -d (N_ 'Verbose mode without message')
|
|
|
|
complete -c ruby -l version -d (N_ 'Display version and exit')
|
|
|
|
complete -c ruby -s x -d (N_ 'Extract script')
|
2006-12-03 07:34:33 +08:00
|
|
|
complete -c ruby -s X -x -a '(__fish_complete_directories (commandline -ct))' -d (N_ 'Directory')
|
2006-03-02 00:53:47 +08:00
|
|
|
complete -c ruby -s y -l yydebug -d (N_ 'Compiler debug mode')
|
2005-09-20 21:31:55 +08:00
|
|
|
|