Show More
@@ -298,6 +298,8 b' def runlistpy(self, event):' | |||||
298 | return dirs + pys |
|
298 | return dirs + pys | |
299 |
|
299 | |||
300 |
|
300 | |||
|
301 | greedy_cd_completer = False | |||
|
302 | ||||
301 | def cd_completer(self, event): |
|
303 | def cd_completer(self, event): | |
302 | relpath = event.symbol |
|
304 | relpath = event.symbol | |
303 | #print event # dbg |
|
305 | #print event # dbg | |
@@ -353,7 +355,10 b' def cd_completer(self, event):' | |||||
353 | else: |
|
355 | else: | |
354 | return matches |
|
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 | def apt_get_packages(prefix): |
|
363 | def apt_get_packages(prefix): | |
359 | out = os.popen('apt-cache pkgnames') |
|
364 | out = os.popen('apt-cache pkgnames') |
General Comments 0
You need to be logged in to leave comments.
Login now