Re: Stop tab-completing empty lines!

2008-01-17 Thread Carsten Haese
On Thu, 2008-01-17 at 00:58 -0800, Casey Rodarmor wrote: > Hi everybody, > > I have the following in my python startup file: > > import readline, rlcompleter > readline.parse_and_bind("tab: complete") > > This lets me tab complete identifiers in the interpreter beautifully, > but there's a tiny

Stop tab-completing empty lines!

2008-01-17 Thread Casey Rodarmor
Hi everybody, I have the following in my python startup file: import readline, rlcompleter readline.parse_and_bind("tab: complete") This lets me tab complete identifiers in the interpreter beautifully, but there's a tiny problem... If I'm sitting at the beginning of a blank line and just want a