about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Command/_ri2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_ri b/Completion/Unix/Command/_ri
index 28de7a9a9..fe458e25f 100644
--- a/Completion/Unix/Command/_ri
+++ b/Completion/Unix/Command/_ri
@@ -67,7 +67,7 @@ if [[ "$state" = ri-name ]]; then
           (class-methods)
           for dir in $ri_dirs[@]; do
             fnames=( $dir/$class_dir*-c.ri(-.:t) )
-            ri_wants+=( ${${fnames%-c.ri//(#b)%(??)/$(print "\\x$match[1]")} )
+            ri_wants+=( ${${fnames%-c.ri}//(#b)%(??)/$(print "\\x$match[1]")} )
           done
           ;;
           (instance-methods)