Show More
@@ -344,7 +344,7 def cd_completer(self, event): | |||||
344 | if d[-1] in ['/','\\']: |
|
344 | if d[-1] in ['/','\\']: | |
345 | d = d[:-1] |
|
345 | d = d[:-1] | |
346 |
|
346 | |||
347 | subdirs = [p for p in os.listdir(d) if os.path.isdir( d + '/' + p)] |
|
347 | subdirs = [p for p in os.listdir(d) if os.path.isdir( d + '/' + p) and not p.startswith('.')] | |
348 | if subdirs: |
|
348 | if subdirs: | |
349 | matches = [ (d + '/' + p) for p in subdirs ] |
|
349 | matches = [ (d + '/' + p) for p in subdirs ] | |
350 | return single_dir_expand(matches) |
|
350 | return single_dir_expand(matches) |
General Comments 0
You need to be logged in to leave comments.
Login now