Commit eecd961c authored by Dom Sekotill's avatar Dom Sekotill
Browse files

added ipython config

parent 87dd037b
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
import six
from os.path import join, dirname
python_exe = 'python3' if six.PY3 else 'python2'

c = get_config()

c.AliasManager.user_aliases = [
	('git', 'git'),
	('ls', 'ls --color=auto -lh'),
	('rm', 'rm'),
	('sudo', 'sudo'),
	('setup', '{0} setup.py'.format(python_exe)),
	('setup2', 'python2 setup.py'),
	('setup3', 'python3 setup.py'),
	('rpdb', 'screen -c {0} {1} -m rpdb2 -s'
		.format(join(dirname(__file__), 'screen-debug.conf'), python_exe)),
	('python', python_exe),
	('python2', 'python2'),
	('python3', 'python3'),
	('pip', '{0} -m pip'.format(python_exe)),
]