Show More
@@ -10,6 +10,7 b' import re' | |||
|
10 | 10 | import UserDict |
|
11 | 11 | from IPython.ipapi import TryNext |
|
12 | 12 | import IPython.macro |
|
13 | import IPython.Shell | |
|
13 | 14 | |
|
14 | 15 | def init_ipython(ipy): |
|
15 | 16 | """ This will be run by _ip.load('ipy_leo') |
@@ -19,6 +20,7 b' def init_ipython(ipy):' | |||
|
19 | 20 | """ |
|
20 | 21 | global ip |
|
21 | 22 | ip = ipy |
|
23 | IPython.Shell.hijack_tk() | |
|
22 | 24 | ip.set_hook('complete_command', mb_completer, str_key = '%mb') |
|
23 | 25 | ip.expose_magic('mb',mb_f) |
|
24 | 26 | ip.expose_magic('lee',lee_f) |
General Comments 0
You need to be logged in to leave comments.
Login now