From 1ff0f12a9a66776af4c0412bfd9369ba646eb53d Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Tue, 27 Dec 2022 11:31:49 +0900 Subject: 51253: Update ruby completion for version 3.2.0 --- Completion/Unix/Command/_ruby | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'Completion/Unix/Command/_ruby') diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index 0e1f5dbc0..9b182693f 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -40,20 +40,27 @@ opts=( '(-v)--verbose[turn on verbose mode and disable script from stdin]' '-x-[strip off text before #!ruby line and perhaps cd to directory]:directory:_files -/' '(1 * -)--copyright[print the copyright]' - --{en,dis}'able=[enable or disable features]:feature:(gems did_you_mean rubyopt frozen_string_literal jit all)' + --{en,dis}'able=[enable or disable features]:feature:(gems error_highlight did_you_mean syntax_suggest rubyopt frozen_string_literal mjit yjit all)' \!--{en,dis}able-{gems,rubyopt,all} - '--dump=[dump debug information]:information:_sequence compadd - insns yydebug parsetree parsetree_with_comment' + '--dump=[dump debug information]:information:_sequence compadd - insns insns_without_opt yydebug parsetree parsetree_with_comment' --{external,internal}'-encoding=:charset:->charsets' '!'{-y,--yydebug} '!--dump=:target:(version copyright usage yydebug syntax parsetree parsetree_with_comment insns)' - '--jit[enable jit with default options]' - '--jit-warnings[enable printing JIT warnings]' - '--jit-debug[enable JIT debugging (very slow)]' - '--jit-wait[wait until JIT compilation finishes every time (for testing)]' - '--jit-save-temps[save JIT temporary files]' - '--jit-verbose=-[print JIT logs of level num or less to stderr]:maximum log level [0]' - '--jit-max-cache=-[specify max number of methods to be JIT-ed in a cache]:number [100]' - '--jit-min-calls=-[specify number of calls to trigger JIT]:calls [10000]' + '(--mjit --yjit)--jit[enable jit for the platform]' + '(--jit --yjit)--mjit[enable C compiler-based JIT compiler]' + '(--jit --mjit)--yjit[enable in-process JIT compiler]' + '--mjit-warnings[enable printing JIT warnings]' + '--mjit-debug[enable JIT debugging (very slow)]' + '--mjit-wait[wait until JIT compilation finishes every time (for testing)]' + '--mjit-save-temps[save JIT temporary files]' + '--mjit-verbose=-[print JIT logs of level num or less to stderr]:maximum log level [0]' + '--mjit-max-cache=-[specify max number of methods to be JIT-ed in a cache]:number [100]' + '--mjit-min-calls=-[specify number of calls to trigger JIT]:calls [10000]' + '--yjit-stat[enable collecting YJIT statistics]' + '--yjit-exec-mem-size=-[size of executable memory block in MiB]:mem size' + '--yjit-call-threshold=-[number of calls to trigger JIT]:number' + '--yjit-max-versions=-[maximum number of versions per basic block]:versions' + '--yjit-greedy-versioning[greedy versioning mode]' ) irb=( -- cgit v1.2.3 From 7b50d620804ad457e77ea05e2e8d41d708b618f3 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Tue, 27 Dec 2022 11:31:50 +0900 Subject: 51254: Add irb completion for version 1.6.2 --- ChangeLog | 3 +++ Completion/Unix/Command/_ruby | 16 ++++++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_ruby') diff --git a/ChangeLog b/ChangeLog index 6f3063bf6..12bc70958 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-12-31 Oliver Kiddle + * Shohei YOSHIDA: 51254: Completion/Unix/Command/_ruby: + Add irb completion for version 1.6.2 + * Shohei YOSHIDA: 51253: Completion/Unix/Command/_ruby: Update ruby completion for version 3.2.0 diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index 9b182693f..8b1c0bf41 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -69,16 +69,28 @@ irb=( $opts[(r)*-d\[*] '(--noinspect)--inspect[use inspect for output]' "(--inspect)--noinspect[don't use inspect for output]" - '(--noreadline)--readline[use readline extension]' - "(--readline)--noreadline[don't use readline extension]" '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt,--prompt-mode}'[switch prompt mode]:prompt mode:(default simple xmp inf-ruby)' '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--inf-ruby-mode,--simple-prompt,--noprompt} '--tracer[display trace for each command execution]' '--back-trace-limit[set limit for backtraces]:limit [16]:' '!--irb_debug:level' '--context-mode:n' + '--extra-doc-dir[add an extra doc dir for the doc dialog]' '(--noecho)--echo[show result]' "(--echo)--noecho[don't show result]" + '(--noecho-on-assignment)--echo-on-assignment[show result on assignment]' + "(--echo-on-assignment)--noecho-on-assignment[don't show result on assignment]" + '--truncate-echo-on-assignment[show truncated result on assignment]' + '(--nomultiline)--multiline[use multiline editor module]' + "(--multiline)--nomultiline[don't use multiline editor module]" + '(--nosingleline)--singleline[use single line editor module]' + "(--singleline)--nosingleline[don't use single line editor module]" + '(--nocolorize)--colorize[use color-highlighting]' + "(--colorize)--nocolorize[don't use color-highlighting]" + '(--noautocomplete)--autocomplete[use auto-completion]' + "(--autocomplete)--noautocomplete[don't use auto-completion]" + '(--noscript)--script[script mode]' + '(--script)--noscript[no script mode]' '--single-irb[share self with sub-irb]' '(--noverbose)--verbose[show details]' "(--verbose)--noverbose[don't show details]" -- cgit v1.2.3 From 92316b70ff467c60551e75fcb9da5131d024d019 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Tue, 27 Dec 2022 11:31:51 +0900 Subject: 51255: Update erb completion for version 4.0.2 --- ChangeLog | 3 +++ Completion/Unix/Command/_ruby | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'Completion/Unix/Command/_ruby') diff --git a/ChangeLog b/ChangeLog index 12bc70958..ea064eab8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2022-12-31 Oliver Kiddle + * Shohei YOSHIDA: 51255: Completion/Unix/Command/_ruby: + Update erb completion for version 4.0.2 + * Shohei YOSHIDA: 51254: Completion/Unix/Command/_ruby: Add irb completion for version 1.6.2 diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index 8b1c0bf41..314307ebb 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -100,8 +100,9 @@ erb=( "-P[don't evaluate lines which start with %]" '-T[specify trim mode]:mode [0]:((0\:EOL\ remains 1\:EOL\ removed\ if\ line\ ends\ with\ %\> 2\:EOL\ removed\ if\ line\ starts\ with\ \<%\ and\ ends\ with\ %\> -\:EOL\ is\ removed\ if\ line\ ends\ with\ -%\>,\ leading\ whitespace\ removed\ after\ \<%-))' '(-d --debug)'{-d,--debug}'[set debugging flags (set $DEBUG to true)]' - '-n[used with -x, prepends line number to output]' - '-x[convert eRuby to Ruby]' + '-n[print ruby script with line number]' + '-x[print ruby script]' + '-v[enable verbose mode]' ) case "$service" in -- cgit v1.2.3 From 424746982b47c4a202fe7e4ff9e401a6cd4c222d Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Tue, 14 Nov 2023 20:39:23 +0100 Subject: 52301: update options in completions for ruby 3.2, gem 3.4.10 and ri 6.5 --- ChangeLog | 4 ++++ Completion/Unix/Command/_gem | 34 ++++++++++++++++++++++---------- Completion/Unix/Command/_ri | 46 +++++++++++++++++++++---------------------- Completion/Unix/Command/_ruby | 4 ++-- 4 files changed, 52 insertions(+), 36 deletions(-) (limited to 'Completion/Unix/Command/_ruby') diff --git a/ChangeLog b/ChangeLog index 41eb95097..cb3dbe6bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2023-11-14 Oliver Kiddle + * 52301: Completion/Unix/Command/_gem, Completion/Unix/Command/_ri, + Completion/Unix/Command/_ruby: update options in completions for + ruby 3.2, gem 3.4.10 and ri 6.5 + * 52300: Completion/Unix/Command/_ansible: ansible 2.15.2 updates 2023-11-09 Oliver Kiddle diff --git a/Completion/Unix/Command/_gem b/Completion/Unix/Command/_gem index 7d81619bb..c5a64cdf1 100644 --- a/Completion/Unix/Command/_gem +++ b/Completion/Unix/Command/_gem @@ -20,6 +20,7 @@ lropts=( $proxy _arguments -C -s \ '(* -)'{-h,--help}'[display usage information]' \ '(* -)'{-v,--version}'[display version information]' \ + '-C[change directory first]:directory:_directories' \ '*::command:->command' && ret=0 if [[ $state = command ]]; then @@ -27,7 +28,7 @@ if [[ $state = command ]]; then cmd=subcommands else cmds=( - build cert check cleanup contents dependency environment fetch + build cert check cleanup contents dependency environment exec fetch generate_index help install info list lock mirror open outdated owner pristine push query rdoc search server signin signout sources specification stale uninstall unpack update which yank @@ -87,13 +88,13 @@ if [[ $state = command ]]; then '!(-d --details)--no-details' ) ;| - check|contents|dependency|fetch|install|list|open|pristine|query|rdoc|search|specification|uninstall|unpack|yank) + check|contents|dependency|exec|fetch|install|list|open|pristine|query|rdoc|search|specification|uninstall|unpack|yank) args+=( '(-v --version)'{-v,--version=}'[specify version of gem]:version' ) ;| - dependency|fetch|install|outdated|specification|uninstall|update|yank) + build|dependency|fetch|install|outdated|specification|uninstall|update|yank) args+=( '--platform=[specify the platform of gem]:platform' ) ;| - dependency|fetch|install|list|query|search|specification|update) + dependency|exec|fetch|install|list|query|search|specification|update) args+=( '--prerelease[include prerelease versions of a gem]' '!(--prerelease)--no-prerelease' ) ;| install|unpack|update) @@ -125,13 +126,13 @@ if [[ $state = command ]]; then ;| (un|)install|pristine|update) args+=( + '(-i --install-dir)'{-i,--install-dir=}'[specify gem repository directory to get installed gems]:directory:_directories' '(-n --bindir)'{-n,--bindir=}'[specify directory where binary files are located]:directory:_directories' ) ;| (un|)install|update) args+=( '--ignore-dependencies[ignore dependency requirements]' - '(-i --install-dir)'{-i,--install-dir=}'[specify gem repository directory to get installed gems]:directory:_directories' ) ;| owner|push) @@ -166,6 +167,7 @@ if [[ $state = command ]]; then '(-b --build)'{-b,--build=}'[build private key and self-signed certificate for specified email address]:email address:_email_addresses -c' '(-C --certificate)'{-C,--certificate=}'[specify signing certificate for --sign]:certificate' '(-K --private-key)'{-K,--private-key=}'[specify key for --sign or --build]:key' + '(-A --key-algorithm)'{-A,--key-algorithm=}'[select which key algorithm to use for --build]:algorithm' '(-s --sign)'{-s,--sign=}'[sign specified certificate with the key from -K and the certificate from -C]:certificate' '(-d --days)'{-d,--days=}'[specify days before certificate expires]:days' '(-R --re-sign)'{-R,--re-sign}'[re-sign the certificate]' @@ -181,7 +183,7 @@ if [[ $state = command ]]; then ;; cleanup) args+=( - '(-n -d --dryrun)'{-n,-d,--dryrun}"[don't uninstall gems]" + '(-n -d --dry-run)'{-n,-d,--dry-run}"[don't uninstall gems]" "--user-install[cleanup in user's home directory instead of GEM_HOME]" ) ;; @@ -201,11 +203,20 @@ if [[ $state = command ]]; then ) ;; environment) - args+=( '1:information:(gemdir gempath version remotesources platform)' ) + args+=( '1:information:(gemdir gempath home path user_gemhome version remotesources platform)' ) + ;; + exec) + args+=( + '--conservative[prefer most recent installed version to the overall latest]' + '1:gem:->gems-remote' + '*: :_default' + ) ;; fetch) def=( both \! local \! remote \! ) - args+=( ${(e)lropts} ) + args+=( ${(e)lropts} + "--no-suggestions[don't suggest alternates when gems are not found]" + ) ;; generate_index) args+=( @@ -232,13 +243,15 @@ if [[ $state = command ]]; then args+=( '(*)*--skip=[with --all, skip specified gem]:installed gem:->gems-local' "--no-extensions[don't restore gems with extensions in addition to regular gems]" + '--only-missing-extensions[only restore gems with missing extensions]' '--only-executables[only restore executables]' + '--only-plugins[only restore plugins]' ) ;; push) args+=( '1:gem file:_files -g "*.gem(-.)"' ) ;; - query) + query) # deprecated args+=( '(-n --name-matches)'{-n,--name-matches=}'[specify regex to match against gem names]:gem name (regex):->gems-local' ) @@ -266,6 +279,7 @@ if [[ $state = command ]]; then '(-r --remove)'{-r,--remove=}'[remove source]:source URI:_urls' '(-c --clear-all)'{-c,--clear-all}'[remove all sources (clear the cache)]' '(-u --update)'{-u,--update}'[update source cache]' + '(-f --force)'{-f,--force}"[don't show any confirmation prompts]" ) ;; specification) @@ -319,7 +333,7 @@ if [[ $state = command ]]; then '--norc[avoid loading any .gemrc file]' && ret=0 if [[ $state == gems* ]]; then - filter=( ${${opt_args[(I)-([lbr]|-local|-remote|-both)]}:-${${(M)state:#*-*}/gems-/--}} ) + filter=( ${${opt_args[(I)-([lbr]|-conservative|-local|-remote|-both)]/conservative/local}:-${${(M)state:#*-*}/gems-/--}} ) _description gems expl gem compadd "$expl[@]" ${${(f)"$(_call_program gems gem list $filter -q --no-versions)"}%% *} && ret=0 fi diff --git a/Completion/Unix/Command/_ri b/Completion/Unix/Command/_ri index 4d5a72985..28de7a9a9 100644 --- a/Completion/Unix/Command/_ri +++ b/Completion/Unix/Command/_ri @@ -26,33 +26,22 @@ _arguments -C \ '*:ri name:->ri-name' && return if [[ "$state" = ri-name ]]; then - local -a ri_dirs ri_ext ri_names ri_wants ri_names + local -a ri_dirs ri_names ri_wants ri_names local class_dir esc_name dir curtag tag descr expl - if "ruby${words[1]#ri}" -rrdoc/ri/ri_options -e 1 >/dev/null 2>&1; then - # Old-style Ruby 1.8.x RI - ri_dirs=( ${(f)"$(_call_program ri-names "ruby${words[1]#ri}" -rrdoc/ri/ri_options -e '"o = RI::Options.instance; o.parse(ARGV); o.path.each { |p| puts p }"' -- ${(kv)opt_args[(I)-d|--doc-dir|--(system|site|gems|home)]})"} ) - ri_ext=yaml - elif "ruby${words[1]#ri}" -rrdoc/ri -rrdoc/ri/store -e 1 >/dev/null 2>&1; then - # Newer-style Ruby 1.9.2 RI - ri_dirs=( ${(f)"$(_call_program ri-names "$words[1]" ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} --list-doc-dirs -f bs -T)"} ) - ri_ext=ri - else - # New-style Ruby 1.9+ RI - ri_dirs=( ${(f)"$(_call_program ri-names "$words[1]" ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} --list-doc-dirs -f plain -T)"} ) - ri_ext=yaml - fi + ri_dirs=( ${(f)"$(_call_program ri-names "$words[1]" ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} --list-doc-dirs -f bs -T)"} ) - if compset -P '?*(::|\#|.)'; then + if compset -P '?*(::|:|\#|.)'; then class_dir=${IPREFIX//(::|\#|.)/\/} fi esc_name=${${(Q)PREFIX}//(#b)([^A-Za-z0-9_])/$(printf %%%x ${(qq)match[1]})} case "$IPREFIX" in - (*::) ri_wants=( 'classes:class names' 'class-methods:class methods' );; - (*\#) ri_wants=( 'instance-methods:instance methods' );; - (*.) ri_wants=( 'class-methods:class methods' 'instance-methods:instance methods' );; - (*) ri_wants=( 'classes:class names' ) + (*::) ri_wants=( 'classes:class name' 'class-methods:class method' );; + (*:) ri_wants=( 'docs:documentation file' );; + (*\#) ri_wants=( 'instance-methods:instance method' );; + (*.) ri_wants=( 'class-methods:class method' 'instance-methods:instance method' );; + (*) ri_wants=( 'classes:class name' 'gems:gem' ) esac for curtag in $ri_wants; do @@ -63,27 +52,36 @@ if [[ "$state" = ri-name ]]; then while _tags; do while _next_label "$tag" expl "$descr"; do ri_wants=() + suf=() case "$tag" in + (gems) + ri_wants=( ruby ${${(f)"$(_call_program gems gem${words[1]#ri} list -q --no-versions)"}%% *} ) + suf=( -S : ) + ;; (classes) for dir in $ri_dirs[@]; do ri_wants+=( $dir/$class_dir*(-/:t) ) done + suf=( -S '::' ) ;; (class-methods) for dir in $ri_dirs[@]; do - fnames=( $dir/$class_dir*-c.$ri_ext(-.:t) ) - ri_wants+=( ${${fnames%-c.$ri_ext}//(#b)%(??)/$(print "\\x$match[1]")} ) + fnames=( $dir/$class_dir*-c.ri(-.:t) ) + ri_wants+=( ${${fnames%-c.ri//(#b)%(??)/$(print "\\x$match[1]")} ) done ;; (instance-methods) for dir in $ri_dirs[@]; do - fnames=( $dir/$class_dir*-i.$ri_ext(-.:t) ) - ri_wants+=( ${${fnames%-i.$ri_ext}//(#b)%(??)/$(print "\\x$match[1]")} ) + fnames=( $dir/$class_dir*-i.ri(-.:t) ) + ri_wants+=( ${${fnames%-i.ri}//(#b)%(??)/$(print "\\x$match[1]")} ) done ;; + (docs) + ri_wants=( ${${(f)"$(_call_program docs $words[1] ${(kv)opt_args[(I)-d|--doc-dir|--((no-|)(system|site|gems|home)|standard-docs)]} $IPREFIX)"}:#=*} ) + ;; esac ri_names=( ${(Q)ri_wants} ) - compadd -S '' -d ri_names -a "$expl[@]" ri_wants && ret=0 + compadd $suf -d ri_names -a "$expl[@]" ri_wants && ret=0 done (( ret )) || break done diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index 314307ebb..b6b42637d 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -44,6 +44,7 @@ opts=( \!--{en,dis}able-{gems,rubyopt,all} '--dump=[dump debug information]:information:_sequence compadd - insns insns_without_opt yydebug parsetree parsetree_with_comment' --{external,internal}'-encoding=:charset:->charsets' + '--backtrace-limit=[limit the maximum length of backtrace]:number' '!'{-y,--yydebug} '!--dump=:target:(version copyright usage yydebug syntax parsetree parsetree_with_comment insns)' '(--mjit --yjit)--jit[enable jit for the platform]' @@ -65,11 +66,10 @@ opts=( irb=( '-f[suppress read of ~/.irbrc]' - '(--noinspect)-m[bc mode (load mathn, fraction, matrix)]' $opts[(r)*-d\[*] '(--noinspect)--inspect[use inspect for output]' "(--inspect)--noinspect[don't use inspect for output]" - '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt,--prompt-mode}'[switch prompt mode]:prompt mode:(default simple xmp inf-ruby)' + '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt=,--prompt-mode=}'[switch prompt mode]:prompt mode:(default classic simple inf-ruby xmp null)' '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--inf-ruby-mode,--simple-prompt,--noprompt} '--tracer[display trace for each command execution]' '--back-trace-limit[set limit for backtraces]:limit [16]:' -- cgit v1.2.3 From f57ad185b31e927bffc8e24566ef0584bddce5bb Mon Sep 17 00:00:00 2001 From: OKURA Masafumi Date: Sun, 17 Mar 2024 23:44:54 +0900 Subject: github #115: completion(ruby): completer opts for irb IRB now has `--regexp-completor` and `--type-completor` options added by: https://github.com/ruby/irb/commit/1dec2708c92559487e51c5f3a3030b74a62270e5 --- ChangeLog | 3 +++ Completion/Unix/Command/_ruby | 2 ++ 2 files changed, 5 insertions(+) (limited to 'Completion/Unix/Command/_ruby') diff --git a/ChangeLog b/ChangeLog index 4e43cac03..62b332aae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-04-01 Oliver Kiddle + * github #115: OKURA Masafumi: Completion/Unix/Command/_ruby: + IRB now has `--regexp-completor` and `--type-completor` options + * 52859: Completion/Zsh/Command/_fc, Completion/Zsh/Command/_vared: use _date_formats for fc and complete -m/-M for vared diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index b6b42637d..9955253b3 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -89,6 +89,8 @@ irb=( "(--colorize)--nocolorize[don't use color-highlighting]" '(--noautocomplete)--autocomplete[use auto-completion]' "(--autocomplete)--noautocomplete[don't use auto-completion]" + '(--regexp-completor)--type-completor[use regexp based completion]' + '(--type-completor)--regexp-completor[use type based completion]' '(--noscript)--script[script mode]' '(--script)--noscript[no script mode]' '--single-irb[share self with sub-irb]' -- cgit v1.2.3 From 9f9ceb7768b51334ccdd0f6e32b20399ba261933 Mon Sep 17 00:00:00 2001 From: Kouhei Yanagita Date: Mon, 25 Nov 2024 14:34:16 +0900 Subject: github #125: Add completion for irb --no-pager --- ChangeLog | 3 +++ Completion/Unix/Command/_ruby | 1 + 2 files changed, 4 insertions(+) (limited to 'Completion/Unix/Command/_ruby') diff --git a/ChangeLog b/ChangeLog index ce445f2ba..02d9739d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-01-27 Oliver Kiddle + * github #125: Kouhei Yanagita: Completion/Unix/Command/_ruby: + Add completion for irb --no-pager + * unposted: Completion/Unix/Command/_openldap: fix quoting * 53327: Completion/Unix/Command/_git: update for git 2.47 diff --git a/Completion/Unix/Command/_ruby b/Completion/Unix/Command/_ruby index 9955253b3..82111b455 100644 --- a/Completion/Unix/Command/_ruby +++ b/Completion/Unix/Command/_ruby @@ -69,6 +69,7 @@ irb=( $opts[(r)*-d\[*] '(--noinspect)--inspect[use inspect for output]' "(--inspect)--noinspect[don't use inspect for output]" + "--no-pager[don't use pager]" '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--prompt=,--prompt-mode=}'[switch prompt mode]:prompt mode:(default classic simple inf-ruby xmp null)' '(--prompt --prompt-mode --inf-ruby-mode --simple-prompt --noprompt)'{--inf-ruby-mode,--simple-prompt,--noprompt} '--tracer[display trace for each command execution]' -- cgit v1.2.3