From: Oleg Broytman Date: Thu, 27 Jul 2017 21:56:14 +0000 (+0300) Subject: lib/python/init.py: Call parse_and_bind for libedit and readline X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=2761800d0ed5315d72dcad897c422e10e4cafd9b;p=dotfiles.git lib/python/init.py: Call parse_and_bind for libedit and readline Just a reminder for now. --- 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)