##// END OF EJS Templates
_ip.runlines() is now much more liberal about indentation - it cleans up the scripts it gets
_ip.runlines() is now much more liberal about indentation - it cleans up the scripts it gets

File last commit:

r888:1c1dc969
r987:9c4e4577
Show More
ipy_app_completers.py
17 lines | 519 B | text/x-python | PythonLexer
vivainio
crlf normalization
r851 """ Install various IPython completers
IPython extension that installs the completers related to external apps.
The actual implementations are in Extensions/ipy_completers.py
"""
import IPython.ipapi
ip = IPython.ipapi.get()
from ipy_completers import *
vivainio
Add proper apt-get completer
r888 ip.set_hook('complete_command', apt_completer, re_key = '.*apt-get')
vivainio
crlf normalization
r851 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')