about summary refs log tree commit diff stats
path: root/hm/soispha/conf/python/pythonrc
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 14:17:59 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:33:34 +0200
commitd2b0cee9fa07f41aee79d4018417baa738d7992b (patch)
treefe393bd081a9c172d0076367b816929b8a3d60da /hm/soispha/conf/python/pythonrc
parentfix(hm/conf/nvim/plgs/lsp/servers/ltex): Don't use in html files (diff)
downloadnixos-config-d2b0cee9fa07f41aee79d4018417baa738d7992b.zip
fix(hm/conf/python): Correctly tell python to use a history file
Diffstat (limited to 'hm/soispha/conf/python/pythonrc')
-rw-r--r--hm/soispha/conf/python/pythonrc11
1 files changed, 0 insertions, 11 deletions
diff --git a/hm/soispha/conf/python/pythonrc b/hm/soispha/conf/python/pythonrc
deleted file mode 100644
index 9173e131..00000000
--- a/hm/soispha/conf/python/pythonrc
+++ /dev/null
@@ -1,11 +0,0 @@
-import os
-import atexit
-import readline
-
-history = os.path.join(os.environ['XDG_DATA_HOME'], 'python/history.py')
-readline.read_history_file(history)
-
-def write_history():
-    readline.write_history_file(history)
-
-atexit.register(write_history)