From 2761800d0ed5315d72dcad897c422e10e4cafd9b Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 28 Jul 2017 00:56:14 +0300 Subject: [PATCH] lib/python/init.py: Call parse_and_bind for libedit and readline Just a reminder for now. --- lib/python/init.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/python/init.py b/lib/python/init.py index a38cea3..d8b7c79 100644 --- a/lib/python/init.py +++ b/lib/python/init.py @@ -36,6 +36,11 @@ def init(): or os.path.expanduser('~/.inputrc') readline.read_init_file(initfile) + #if 'libedit' in readline.__doc__: + # readline.parse_and_bind("bind ^I rl_complete") + #else: + # readline.parse_and_bind("tab: complete") + histfile = os.path.expanduser('~/.python_history') try: readline.read_history_file(histfile) -- 2.39.5