bzr help and less don't seem to play well...

Andrew Bennetts andrew.bennetts at canonical.com
Fri May 21 02:06:20 BST 2010


John Szakmeister wrote:
[...]
> packages.  If I comment out the import of readline, it's fine.  I have
> the import so that I get some nicer line handling with the
> interpreter.  I guess I need to find a way to only import it when
> running the interpreter directly though.

IIRC, you should be able to do:

cat 'import readline' > ~/.pythonrc
export PYTHONSTARTUP=$HOME/.pythonrc

See <http://docs.python.org/using/cmdline.html#envvar-PYTHONSTARTUP>

-Andrew.




More information about the bazaar mailing list