aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/%HOME%
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--%HOME%/.bash_utils/python.sh4
-rw-r--r--%HOME%/.bashrc2
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