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% | |
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 | ||||
-rw-r--r-- | %HOME%/.bashrc | 2 |
2 files changed, 3 insertions, 3 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" diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index e153a13..a8f05f6 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -53,8 +53,6 @@ alias copy='xclip -sel clip' [ -r "$HOME/.bash_utils/ruby.sh" ] && source "$HOME/.bash_utils/ruby.sh" [ -r "$HOME/.bash_utils/text.sh" ] && source "$HOME/.bash_utils/text.sh" -export PYTHONSTARTUP="$HOME/.pythonrc" - os_is_cygwin && set -o igncr os_is_cygwin || complete -r |