##// END OF EJS Templates
cd completer: do not recursively add dirs starting with . (e.g. .svn)
Ville M. Vainio -
Show More
@@ -344,7 +344,7 b' def cd_completer(self, event):'
344 344 if d[-1] in ['/','\\']:
345 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 348 if subdirs:
349 349 matches = [ (d + '/' + p) for p in subdirs ]
350 350 return single_dir_expand(matches)
General Comments 0
You need to be logged in to leave comments. Login now