Sort tab completion matches.

This commit is contained in:
Markus Roth
2015-05-06 18:20:48 +02:00
parent e86defd84a
commit 9f5d09b716
+1 -1
View File
@@ -143,7 +143,7 @@ class BashKernel(Kernel):
return default
matches = [m for m in matches if m.startswith(token)]
return {'matches': matches, 'cursor_start': start,
return {'matches': sorted(matches), 'cursor_start': start,
'cursor_end': cursor_pos, 'metadata': dict(),
'status': 'ok'}