diff options
author | Soispha <soispha@vhack.eu> | 2023-10-08 10:47:48 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-10-08 10:47:48 +0200 |
commit | 956f0296410b3e93ef29555c353f3ed48d0dd622 (patch) | |
tree | 8a805b55ba17ed1960b068ea4e0478f8f72bc5c1 /hm/soispha/conf/python/pythonrc | |
parent | fix(hm/conf/taskserver): Update to new let's encrypt certificate (diff) | |
download | nixos-config-956f0296410b3e93ef29555c353f3ed48d0dd622.zip |
fix(hm/conf/python): Move python history file to a persistent location
Diffstat (limited to 'hm/soispha/conf/python/pythonrc')
-rw-r--r-- | hm/soispha/conf/python/pythonrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hm/soispha/conf/python/pythonrc b/hm/soispha/conf/python/pythonrc index 38c48e0f..9173e131 100644 --- a/hm/soispha/conf/python/pythonrc +++ b/hm/soispha/conf/python/pythonrc @@ -2,7 +2,7 @@ import os import atexit import readline -history = os.path.join(os.environ['XDG_CACHE_HOME'], 'python_history') +history = os.path.join(os.environ['XDG_DATA_HOME'], 'python/history.py') readline.read_history_file(history) def write_history(): |