~ellisonbg/ipython/bugfixes0411409

« back to all changes in this revision

Viewing changes to IPython/Extensions/ipy_app_completers.py

  • Committer: ville
  • Date: 2008-02-16 09:50:47 UTC
  • mto: (0.12.1 ipython_main)
  • mto: This revision was merged to the branch mainline in revision 990.
  • Revision ID: ville@ville-pc-20080216095047-500x6dluki1iz40o
initialization (no svn history)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
""" Install various IPython completers
 
2
 
 
3
IPython extension that installs the completers related to external apps.
 
4
 
 
5
The actual implementations are in Extensions/ipy_completers.py
 
6
 
 
7
"""
 
8
import IPython.ipapi
 
9
 
 
10
ip = IPython.ipapi.get()
 
11
 
 
12
from ipy_completers import *
 
13
 
 
14
ip.set_hook('complete_command', apt_completer, re_key = '.*apt-get')
 
15
ip.set_hook('complete_command', svn_completer, str_key = 'svn')
 
16
ip.set_hook('complete_command', hg_completer, str_key = 'hg')
 
17
ip.set_hook('complete_command', bzr_completer, str_key = 'bzr')