From: Oleg Broytman Date: Tue, 19 Apr 2016 10:26:24 +0000 (+0300) Subject: init.py: fix: restore rlcompleter X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=40f45271a1b473df828cfa471156c7e58601536c;p=dotfiles.git init.py: fix: restore rlcompleter Import of rlcompleter is required for completion of attributes. --- diff --git a/lib/python/init.py b/lib/python/init.py index 2450f75..c0afb68 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -27,6 +27,7 @@ def init(): # https://mail.python.org/pipermail/python-list/2001-March/062888.html try: + import rlcompleter # noqa: need for completion import readline initfile = os.environ.get('INPUTRC') \ or os.path.expanduser('~/.inputrc')