]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: source virtualenvwrapper_lazy and pyenv
authorOleg Broytman <phd@phdru.name>
Sun, 5 Jun 2016 20:57:07 +0000 (23:57 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 5 Jun 2016 20:57:07 +0000 (23:57 +0300)
.shellrc

index 2527547c4d3e1a046134debc854c8d7e015d3adc..8adc256b252b15555dfcd0c60ababafd72511d6a 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -278,3 +278,12 @@ tmux() {
       ;;
    esac
 }
+
+
+if [ -f /usr/local/bin/virtualenvwrapper_lazy.sh ]; then
+   source /usr/local/bin/virtualenvwrapper_lazy.sh
+fi
+
+if which pyenv >/dev/null 2>&1; then
+   eval "`pyenv init -`"
+fi