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-b9f4589650da
unstable
James Lee 2011-01-13 16:34:09 +00:00
parent 4cece1650d
commit ef883859f1
1 changed files with 0 additions and 2 deletions

View File

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