Switch to using json config for ipython
This commit is contained in:
parent
8a66f1f41e
commit
a7d0c8d9c7
|
@ -1,9 +1,9 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
# TODO: ipython config file
|
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
|
"pypoetry/config.toml".source = ./poetry-config.toml;
|
||||||
|
"ipython/profile_default/ipython_config.json".source = ./ipython_config.json;
|
||||||
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
|
"jupyter/jupyter_server_config.py".source = ./jupyter_server_config.py;
|
||||||
"jupyter/jupyter_nbconvert_config.py".source =
|
"jupyter/jupyter_nbconvert_config.py".source =
|
||||||
./jupyter_nbconvert_config.py;
|
./jupyter_nbconvert_config.py;
|
||||||
"pypoetry/config.toml".source = ./poetry-config.toml;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
20
home/config/ipython_config.json
Normal file
20
home/config/ipython_config.json
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"Application": { "log_datefmt": "%Y-%m-%d %H:%M:%S" },
|
||||||
|
"InteractiveShell": {
|
||||||
|
"colors": "Linux",
|
||||||
|
"color_info": true
|
||||||
|
},
|
||||||
|
"InteractiveShellApp": {
|
||||||
|
"exec_PYTHONSTARTUP": false,
|
||||||
|
"exec_lines": ["%load_ext autoreload", "%autoreload 2 --print"],
|
||||||
|
"gui": "tk",
|
||||||
|
"matplotlib": "tk",
|
||||||
|
"pylab": "tk"
|
||||||
|
},
|
||||||
|
"TerminalIPythonApp": { "gui": "tk", "display_banner": false },
|
||||||
|
"TerminalInteractiveShell": {
|
||||||
|
"editing_mode": "emacs",
|
||||||
|
"mouse_support": false,
|
||||||
|
"true_color": true
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,13 +0,0 @@
|
||||||
c = get_config() # type: ignore
|
|
||||||
c.InteractiveShellApp.exec_PYTHONSTARTUP = False
|
|
||||||
c.InteractiveShellApp.exec_lines = ["%load_ext autoreload", "%autoreload 2 --print"]
|
|
||||||
c.InteractiveShellApp.gui = "tk"
|
|
||||||
c.InteractiveShellApp.matplotlib = "tk"
|
|
||||||
c.InteractiveShellApp.pylab = "tk"
|
|
||||||
c.TerminalIPythonApp.gui = "tk"
|
|
||||||
c.InteractiveShell.color_info = True
|
|
||||||
c.InteractiveShell.colors = "Linux"
|
|
||||||
c.TerminalInteractiveShell.editing_mode = "emacs"
|
|
||||||
c.TerminalInteractiveShell.mouse_support = False
|
|
||||||
c.TerminalInteractiveShell.true_color = False
|
|
||||||
c.Application.log_datefmt = "%Y-%m-%d %H:%M:%S"
|
|
Loading…
Reference in a new issue