From 8b39a1a1d25f0155dec428ec3c20df8b1ecc1c5f Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 20 Jul 2023 19:13:31 +0900 Subject: [PATCH] Add ptpython config --- others/ptpython.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 others/ptpython.py diff --git a/others/ptpython.py b/others/ptpython.py new file mode 100644 index 0000000..86ecfd5 --- /dev/null +++ b/others/ptpython.py @@ -0,0 +1,14 @@ +""" +Configuration for ``ptpython``. + +Copy this file to $XDG_CONFIG_HOME/ptpython/config.py +On Linux, this is: ~/.config/ptpython/config.py +On macOS, this is: ~/Library/Application Support/ptpython/config.py +""" + +__all__ = ["configure"] + + +def configure(repl): + repl.use_code_colorscheme("native") + return