From ca000f5fe458ec45c38eacfe767e27d2422e9114 Mon Sep 17 00:00:00 2001 From: HelionSmoker <82761116+HelionSmoker@users.noreply.github.com> Date: Thu, 9 Feb 2023 16:37:31 +0200 Subject: [PATCH] Python ~/ cleanup (#1264) --- .config/python/pythonrc | 2 ++ .config/shell/profile | 1 + 2 files changed, 3 insertions(+) create mode 100644 .config/python/pythonrc 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/"