diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2017-10-01 19:20:06 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2017-10-01 19:20:06 +0300 |
commit | ae717bdfc3809e6079d312061a0cc447438a0901 (patch) | |
tree | dacaed962ca06d5698bac702355081fd65a2ba0e /%HOME%/.bash_utils | |
parent | add python.sh (diff) | |
download | linux-home-ae717bdfc3809e6079d312061a0cc447438a0901.tar.gz linux-home-ae717bdfc3809e6079d312061a0cc447438a0901.zip |
move PYTHONSTARTUP to python.sh
Diffstat (limited to '')
-rw-r--r-- | %HOME%/.bash_utils/python.sh | 4 |
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" |