##// END OF EJS Templates
ipy_leo: mb completer also works with %
vivainio2 -
Show More
@@ -19,7 +19,7 b' def init_ipython(ipy):'
19 """
19 """
20 global ip
20 global ip
21 ip = ipy
21 ip = ipy
22 ip.set_hook('complete_command', mb_completer, str_key = 'mb')
22 ip.set_hook('complete_command', mb_completer, str_key = '%mb')
23 ip.expose_magic('mb',mb_f)
23 ip.expose_magic('mb',mb_f)
24 ip.expose_magic('lee',lee_f)
24 ip.expose_magic('lee',lee_f)
25 ip.expose_magic('leoref',leoref_f)
25 ip.expose_magic('leoref',leoref_f)
@@ -133,6 +133,7 b' else:'
133
133
134 def jobctrl_shellcmd(ip,cmd):
134 def jobctrl_shellcmd(ip,cmd):
135 """ os.system replacement that stores process info to db['tasks/t1234'] """
135 """ os.system replacement that stores process info to db['tasks/t1234'] """
136 cmd = cmd.strip()
136 cmdname = cmd.split(None,1)[0]
137 cmdname = cmd.split(None,1)[0]
137 if cmdname in shell_internal_commands:
138 if cmdname in shell_internal_commands:
138 use_shell = True
139 use_shell = True
General Comments 0
You need to be logged in to leave comments. Login now