Browse Source

Default to Python3 for virtualenvwrapper

master
Noah Petherbridge 5 years ago
parent
commit
c0d24d197f
  1. 3
      home/.bashrc
  2. 3
      home/.zshrc

3
home/.bashrc

@ -35,8 +35,9 @@ if [ -f /opt/perl5/etc/bashrc ]; then
source /opt/perl5/etc/bashrc
fi
# Virtualenv
# Virtualenv settings. Prefer Python 3 for new environments.
export WORKON_HOME=~/.virtualenvs
command -v python3 >/dev/null 2>&1 && export VIRTUALENV_PYTHON=`command -v python3`
if [ -f /usr/bin/virtualenvwrapper.sh ]; then
source /usr/bin/virtualenvwrapper.sh
elif [ -f /usr/share/virtualenvwrapper/virtualenvwrapper.sh ]; then

3
home/.zshrc

@ -34,8 +34,9 @@ else export PATH="${USR_PATH}:${CORE_PATH}"
fi
export EDITOR="/usr/bin/vim"
# Virtualenv
# Virtualenv settings. Prefer Python3 for new environments.
export WORKON_HOME=~/.virtualenvs
command -v python3 >/dev/null 2>&1 && export VIRTUALENV_PYTHON=`command -v python3`
# Go
export GOPATH="$HOME/go/.ext:$HOME/go"

Loading…
Cancel
Save