##// END OF EJS Templates
Add init_environment(), %less, %more, %man and %clear/%cls, in zmq shell....
Add init_environment(), %less, %more, %man and %clear/%cls, in zmq shell. These are all things that normally need direct terminal control and users are likely to call them via !, blocking their session because the pager will be invoked and we can't pass keystrokes to it. So for the zmq shell, we implement a few very common things as magics.

File last commit:

r2267:928c921b
r3005:48d6fff4
Show More
ipy_app_completers.py
19 lines | 583 B | text/x-python | PythonLexer
ville
initialization (no svn history)
r988 """ Install various IPython completers
IPython extension that installs the completers related to external apps.
Brian Granger
Renaming Extensions=>extensions in code and imports.
r2064 The actual implementations are in extensions/ipy_completers.py
ville
initialization (no svn history)
r988
"""
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 from IPython.core import ipapi
ville
initialization (no svn history)
r988
Brian Granger
ipapi.py => core/ipapi.py and imports updated.
r2027 ip = ipapi.get()
ville
initialization (no svn history)
r988
from ipy_completers import *
ip.set_hook('complete_command', apt_completer, re_key = '.*apt-get')
ip.set_hook('complete_command', svn_completer, str_key = 'svn')
ip.set_hook('complete_command', hg_completer, str_key = 'hg')
Ville M. Vainio
ipy_bzr: new command completer for bzr, also completes --options. Deprecates the old bzr completer (now inactivated)
r1081
# the old bzr completer is deprecated, we recommend ipy_bzr
#ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')