##// END OF EJS Templates
cd completer: no longer greedy. If you are using a buggy readline that inserts...
Ville M. Vainio -
Show More
@@ -298,6 +298,8 b' def runlistpy(self, event):'
298 298 return dirs + pys
299 299
300 300
301 greedy_cd_completer = False
302
301 303 def cd_completer(self, event):
302 304 relpath = event.symbol
303 305 #print event # dbg
@@ -353,7 +355,10 b' def cd_completer(self, event):'
353 355 else:
354 356 return matches
355 357
356 return single_dir_expand(found)
358 if greedy_cd_completer:
359 return single_dir_expand(found)
360 else:
361 return found
357 362
358 363 def apt_get_packages(prefix):
359 364 out = os.popen('apt-cache pkgnames')
General Comments 0
You need to be logged in to leave comments. Login now