diff --git a/IPython/frontend/linefrontendbase.py b/IPython/frontend/linefrontendbase.py index 10443b9..c45e4be 100644 --- a/IPython/frontend/linefrontendbase.py +++ b/IPython/frontend/linefrontendbase.py @@ -216,6 +216,8 @@ class LineFrontEndBase(FrontEndBase): new_line, completions = self.complete(line) if len(completions)>1: self.write_completion(completions, new_line=new_line) + if not line == new_line: + self.input_buffer = new_line if self.debug: print >>sys.__stdout__, 'line', line print >>sys.__stdout__, 'new_line', new_line diff --git a/IPython/testing/plugin/Makefile b/IPython/testing/plugin/Makefile index 878946c..9d8157a 100644 --- a/IPython/testing/plugin/Makefile +++ b/IPython/testing/plugin/Makefile @@ -1,6 +1,5 @@ # Set this prefix to where you want to install the plugin -PREFIX=~/usr/local -PREFIX=~/tmp/local +PREFIX=/usr/local NOSE0=nosetests -vs --with-doctest --doctest-tests --detailed-errors NOSE=nosetests -vvs --with-ipdoctest --doctest-tests --doctest-extension=txt \