Show More
@@ -384,8 +384,12 b' class IPCompleter(Completer):' | |||
|
384 | 384 | if d[-1] in ['/','\\']: |
|
385 | 385 | d = d[:-1] |
|
386 | 386 | |
|
387 |
|
|
|
388 | return single_dir_expand(matches) | |
|
387 | subdirs = os.listdir(d) | |
|
388 | if subdirs: | |
|
389 | matches = [ (d + '/' + p) for p in subdirs] | |
|
390 | return single_dir_expand(matches) | |
|
391 | else: | |
|
392 | return matches | |
|
389 | 393 | else: |
|
390 | 394 | return matches |
|
391 | 395 | |
@@ -437,6 +441,7 b' class IPCompleter(Completer):' | |||
|
437 | 441 | matches = [text_prefix + |
|
438 | 442 | protect_filename(f) for f in m0] |
|
439 | 443 | |
|
444 | print 'mm',matches # dbg | |
|
440 | 445 | return single_dir_expand(matches) |
|
441 | 446 | |
|
442 | 447 | def alias_matches(self, text): |
General Comments 0
You need to be logged in to leave comments.
Login now