···4646 "waybar": HOME / ".config" / "waybar",
4747 "starship/starship.toml": HOME / ".config" / "starship.toml",
4848 "keyd/default.conf": Path("/etc/keyd/default.conf"),
4949- "ipython/ipython_config.py": HOME / ".ipython/profile_default/startup/ipython_config.py"
4949+ "ipython/ipython_config.py": HOME / ".ipython/profile_default/ipython_config.py"
5050}
51515252REPO_DIR = Path(__file__).resolve().parent
+3-1
ipython/ipython_config.py
···11import datetime as dt
22from pathlib import Path
3344+c = get_config()
55+46# The name of the logfile to use.
57logfile_dir = Path('~/projects/ipython-logs').expanduser()
68logfile_dir.mkdir(parents=True, exist_ok=True)
···1012logfile_fn.touch()
11131214# set the logfile
1313-c.TerminalInteractiveShell.logfile = logfile_fn
1515+c.TerminalInteractiveShell.logfile = str(logfile_fn)
141615171618# Start logging to the default log file.