about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOKURA Masafumi <masafumi.o1988@gmail.com>2024-03-17 23:44:54 +0900
committerOliver Kiddle <opk@zsh.org>2024-04-01 23:29:36 +0200
commitf57ad185b31e927bffc8e24566ef0584bddce5bb (patch)
treebb554812741398fc5e24ea0f86e0607b6ee0edfa
parenta967c4a4357e05710139ffaa87017ac00f9d04fa (diff)
downloadzsh-f57ad185b31e927bffc8e24566ef0584bddce5bb.tar.gz
zsh-f57ad185b31e927bffc8e24566ef0584bddce5bb.tar.xz
zsh-f57ad185b31e927bffc8e24566ef0584bddce5bb.zip
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
-rw-r--r--ChangeLog3
-rw-r--r--Completion/Unix/Command/_ruby2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4e43cac03..62b332aae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 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
 
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]'