Show More
@@ -403,8 +403,8 b' class IPCompleter(Completer):' | |||
|
403 | 403 | #print 'Completer->alias_matches:',text,'lb',self.lbuf # dbg |
|
404 | 404 | |
|
405 | 405 | # if we are not in the first 'item', alias matching |
|
406 | # doesn't make sense | |
|
407 | if ' ' in self.lbuf.lstrip(): | |
|
406 | # doesn't make sense - unless we are starting with 'sudo' command. | |
|
407 | if ' ' in self.lbuf.lstrip() and not self.lbuf.lstrip().startswith('sudo'): | |
|
408 | 408 | return [] |
|
409 | 409 | text = os.path.expanduser(text) |
|
410 | 410 | aliases = self.alias_table.keys() |
General Comments 0
You need to be logged in to leave comments.
Login now