##// END OF EJS Templates
cd completer considers bookmarks if no other matches are available
Ville M. Vainio -
Show More
@@ -335,6 +335,12 b' def cd_completer(self, event):'
335 335 if not found:
336 336 if os.path.isdir(relpath):
337 337 return [relpath]
338
339 bks = self.db.get('bookmarks',{}).keys()
340 bkmatches = [s for s in bks if s.startswith(event.symbol)]
341 if bkmatches:
342 return bkmatches
343
338 344 raise IPython.ipapi.TryNext
339 345
340 346
General Comments 0
You need to be logged in to leave comments. Login now