jduck is right, this isn't necessary since non-matches get removed for us later. if this does indeed make it easier to make modules tab like files later, we can add it back in.
git-svn-id: file:///home/svn/framework3/trunk@11572 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
4cece1650d
commit
ef883859f1
|
@ -198,8 +198,6 @@ module DispatcherShell
|
|||
res = dispatcher.send(tabs_meth, str, words)
|
||||
return [] if res.nil?
|
||||
items.concat(res)
|
||||
regexp = /^#{Regexp.quote(str)}/
|
||||
items = items.select { |i| i =~ regexp }
|
||||
else
|
||||
# Avoid the default completion list for known commands
|
||||
return []
|
||||
|
|
Loading…
Reference in New Issue