Commit d041d934 authored by Morten Knutsen's avatar Morten Knutsen
Browse files

Make tab completion compatible with OSX readline interface.

parent 593aa7df
......@@ -21,6 +21,11 @@ class MetricShell(Cmd):
except IOError:
if 'libedit' in readline.__doc__:
readline.parse_and_bind("bind ^I rl_complete")
readline.parse_and_bind("tab: complete")
self.config = Config()
readline.set_completer_delims(" ")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment