We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d10dcdf commit f5d99f2Copy full SHA for f5d99f2
completions/ri
@@ -23,7 +23,7 @@ _ri_get_methods()
23
# older versions of ri didn't distinguish between class/module and
24
# instance methods
25
COMPREPLY+=( \
26
- "$(ruby -W0 $ri_path "${classes[@]}" | ruby -ane \
+ "$(ruby -W0 $ri_path "${classes[@]}" 2>/dev/null | ruby -ane \
27
'if /^-/.../^-/ and ! /^-/ and ! /^ +(class|module): / then \
28
print $_.split(/, |,$| +/).grep(/^[^\[]*$/).join("\n"); \
29
end' | sort -u)" )
0 commit comments