diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-24 02:48:13 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2021-05-24 02:48:13 +0200 |
commit | 226c4a7cef27041923347235b0b031cc14fb24c8 (patch) | |
tree | 50d2d3accfa74c00db11d1dc4bff790305505e43 /saneterm | |
parent | 1c1ce31cdc317a3bdd44f31d9b7a28654c7d55e9 (diff) |
history: Clarify HISTFILE comment
Diffstat (limited to 'saneterm')
-rw-r--r-- | saneterm/history.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/saneterm/history.py b/saneterm/history.py index 8e54bd0..038a4f9 100644 --- a/saneterm/history.py +++ b/saneterm/history.py @@ -19,7 +19,8 @@ class History(): """ def __init__(self): - # XXX: Maybe consult os.environ["HISTFILE"] + # See https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html + # Explicitly not using HISTFILE to avoid overwriting the shell's history. if "XDG_DATA_DIR" in os.environ: data_dir = os.environ["XDG_DATA_DIR"] else: |