From 31ae4d04eb8699a6cd202ba24e37812c0b596f0a 2007-05-25 13:47:49 From: vivainio Date: 2007-05-25 13:47:49 Subject: [PATCH] alias completer works in indented lines now --- diff --git a/IPython/completer.py b/IPython/completer.py index 60eb7ed..597e99d 100644 --- a/IPython/completer.py +++ b/IPython/completer.py @@ -450,7 +450,7 @@ class IPCompleter(Completer): # if we are not in the first 'item', alias matching # doesn't make sense - if ' ' in self.lbuf: + if ' ' in self.lbuf.lstrip(): return [] text = os.path.expanduser(text) aliases = self.alias_table.keys()