##// END OF EJS Templates
correct mistake in exesetup.py docstring (pyreadline installation)
correct mistake in exesetup.py docstring (pyreadline installation)

File last commit:

r589:cf807231
r673:eb565283
Show More
ipy_stock_completers.py
30 lines | 857 B | text/x-python | PythonLexer
/ IPython / Extensions / ipy_stock_completers.py
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 """ Install various IPython completers
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 IPython extension that installs most of the implemented
custom completers.
vivainio
merge all from 0.7.3 branch to trunk
r503
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 The actual implementations are in Extensions/ipy_completers.py
vivainio
merge all from 0.7.3 branch to trunk
r503
"""
import IPython.ipapi
ip = IPython.ipapi.get()
vivainio
added ipy_completers.py, ipy_stock_completers.py now only ENABLES the completers as opposed to implementing them
r589 from ipy_completers import *
vivainio
merge all from 0.7.3 branch to trunk
r503
ip.set_hook('complete_command', apt_completers, re_key = '.*apt-get')
ip.set_hook('complete_command', apt_completers, re_key = '.*yum')
ip.set_hook('complete_command', module_completer, str_key = 'import')
ip.set_hook('complete_command', module_completer, str_key = 'from')
ip.set_hook('complete_command', svn_completer, str_key = 'svn')
ip.set_hook('complete_command', hg_completer, str_key = 'hg')
ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')
ip.set_hook('complete_command', runlistpy, str_key = '%run')
ip.set_hook('complete_command', cd_completer, str_key = '%cd')