diff --git a/IPython/UserConfig/ipy_apps.py b/IPython/UserConfig/ipy_apps.py new file mode 100644 index 0000000..1eb4b03 --- /dev/null +++ b/IPython/UserConfig/ipy_apps.py @@ -0,0 +1,7 @@ +import IPython.ipapi +ip = IPython.ipapi.get() + +def main(): + ip.magic('rehashdir c:/opt/kdiff3') + +main() diff --git a/IPython/UserConfig/ipy_user_conf.py b/IPython/UserConfig/ipy_user_conf.py index 4202ecf..d094813 100644 --- a/IPython/UserConfig/ipy_user_conf.py +++ b/IPython/UserConfig/ipy_user_conf.py @@ -24,8 +24,9 @@ ip = IPython.ipapi.get() def main(): o = ip.options() + import ipy_apps # An example on how to set options #o.autocall = 1 main() - \ No newline at end of file +