aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%/.bash_utils
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-10-01 19:20:06 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-10-01 19:20:06 +0300
commitae717bdfc3809e6079d312061a0cc447438a0901 (patch)
treedacaed962ca06d5698bac702355081fd65a2ba0e /%HOME%/.bash_utils
parentadd python.sh (diff)
downloadlinux-home-ae717bdfc3809e6079d312061a0cc447438a0901.tar.gz
linux-home-ae717bdfc3809e6079d312061a0cc447438a0901.zip
move PYTHONSTARTUP to python.sh
Diffstat (limited to '')
-rw-r--r--%HOME%/.bash_utils/python.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/%HOME%/.bash_utils/python.sh b/%HOME%/.bash_utils/python.sh
index 6f74f8b..9193535 100644
--- a/%HOME%/.bash_utils/python.sh
+++ b/%HOME%/.bash_utils/python.sh
@@ -8,7 +8,7 @@
# This is a half-assed way to automatically add your user's pip binary
# directory to $PATH.
-source "$HOME/.bash_utils/path.sh"
+source "$HOME/.bash_utils/path.sh"
python_setup_() (
set -o errexit -o nounset -o pipefail
@@ -41,3 +41,5 @@ python_setup() {
}
python_setup
+
+[ -r "$HOME/.pythonrc" ] && export PYTHONSTARTUP="$HOME/.pythonrc"