Show More
@@ -384,10 +384,14 b' class IPCompleter(Completer):' | |||
|
384 | 384 | if d[-1] in ['/','\\']: |
|
385 | 385 | d = d[:-1] |
|
386 | 386 | |
|
387 |
|
|
|
387 | subdirs = os.listdir(d) | |
|
388 | if subdirs: | |
|
389 | matches = [ (d + '/' + p) for p in subdirs] | |
|
388 | 390 | return single_dir_expand(matches) |
|
389 | 391 | else: |
|
390 | 392 | return matches |
|
393 | else: | |
|
394 | return matches | |
|
391 | 395 | |
|
392 | 396 | lbuf = self.lbuf |
|
393 | 397 | open_quotes = 0 # track strings with open quotes |
@@ -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