summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorHelionSmoker <82761116+HelionSmoker@users.noreply.github.com>2023-02-09 16:37:31 +0200
committerGitHub <noreply@github.com>2023-02-09 14:37:31 +0000
commitca000f5fe458ec45c38eacfe767e27d2422e9114 (patch)
tree3af54849dd7d2e548af3143ca668c1956dee9d2d /.config
parenta4784f9faa9a94d7411d14da113f58e54c8f82e2 (diff)
downloadeibhear-ca000f5fe458ec45c38eacfe767e27d2422e9114.tar.gz
eibhear-ca000f5fe458ec45c38eacfe767e27d2422e9114.tar.zst
eibhear-ca000f5fe458ec45c38eacfe767e27d2422e9114.zip
Python ~/ cleanup (#1264)
Diffstat (limited to '.config')
-rw-r--r--.config/python/pythonrc2
-rw-r--r--.config/shell/profile1
2 files changed, 3 insertions, 0 deletions
diff --git a/.config/python/pythonrc b/.config/python/pythonrc
new file mode 100644
index 0000000..b32e6b6
--- /dev/null
+++ b/.config/python/pythonrc
@@ -0,0 +1,2 @@
+import readline
+readline.write_history_file = lambda *args: None
diff --git a/.config/shell/profile b/.config/shell/profile
index 7c7a613..c28f5a4 100644
--- a/.config/shell/profile
+++ b/.config/shell/profile
@@ -40,6 +40,7 @@ export UNISON="$XDG_DATA_HOME/unison"
export HISTFILE="$XDG_DATA_HOME/history"
export MBSYNCRC="$XDG_CONFIG_HOME/mbsync/config"
export ELECTRUMDIR="$XDG_DATA_HOME/electrum"
+export PYTHONSTARTUP="$XDG_CONFIG_HOME/python/pythonrc"
# Other program settings:
export DICS="/usr/share/stardict/dic/"