1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-09 17:16:19 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
OKURA Masafumi f57ad185b3 github #115: completion(ruby): completer opts for irb
IRB now has `--regexp-completor` and `--type-completor` options added by:
1dec2708c9
2024-04-01 23:29:36 +02:00
Oliver Kiddle a967c4a435 52859: use _date_formats for fc and complete -m/-M for vared 2024-04-01 23:27:09 +02:00
4 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2024-04-01 Oliver Kiddle <opk@zsh.org>
* 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
2024-03-25 Oliver Kiddle <opk@zsh.org>
* 52798: Completion/Unix/Command/_ssh,

View File

@ -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]'

View File

@ -40,7 +40,7 @@ fc_hist=(
'(-A -R -W -e -d -E -i -t -a -p -P)-f[mm/dd/yyyy format time-stamps]'
'(-A -R -W -e -d -f -i -t -a -p -P)-E[dd.mm.yyyy format time-stamps]'
'(-A -R -W -e -d -f -E -t -a -p -P)-i[yyyy-mm-dd format time-stamps]'
'(-A -R -W -e -d -f -E -i -a -p -P)-t[print time-stamps in specified format]:date format'
'(-A -R -W -e -d -f -E -i -a -p -P)-t[print time-stamps in specified format]: : _date_formats zsh'
'(-A -R -W -e -a -p -P)-D[print elapsed times]'
'(-A -R -W -I -e -d -f -i -l -m -n -r -D -E -t -P)-a[with -p, automatically pop history on function return]'

View File

@ -10,5 +10,7 @@ _arguments -s -A "-*" \
'-f+[specify finish widget]:widget:_widgets' \
'-h[allow access to history]' \
'-e[exit on EOF (^D)]' \
'-M+[specify keymap to link to main]:keymap:compadd -a keymaps' \
'-m+[specify keymap to link to vicmd]:keymap:compadd -a keymaps' \
'1:parameter spec:_vars'