summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
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/"