From 5332935235193f8dcf2c71cbdec8b47c5c13c090 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 14 Oct 2018 20:22:52 +0100 Subject: [PATCH] Remove unnecessary lazy-loading of pyenv --- files/zshrc/.zshrc | 4 ---- files/zshrc/applications.sh | 7 ------- tasks/packages.yml | 1 - 3 files changed, 12 deletions(-) diff --git a/files/zshrc/.zshrc b/files/zshrc/.zshrc index 5662390..0c06d3e 100644 --- a/files/zshrc/.zshrc +++ b/files/zshrc/.zshrc @@ -33,7 +33,3 @@ alias src="source $HOME/.zshrc" {% include "applications.sh" %} {% include "catfish.sh" %} {% include "javascript.sh" %} - -{% if ansible_fqdn == "TOO-Work" %} - pyenv-init -{% endif %} diff --git a/files/zshrc/applications.sh b/files/zshrc/applications.sh index ea5f514..9e61991 100644 --- a/files/zshrc/applications.sh +++ b/files/zshrc/applications.sh @@ -7,13 +7,6 @@ fi eval $(thefuck --alias) eval "$(fasd --init auto)" -pyenv-init() { - export PATH="$HOME/.pyenv/bin:$PATH" - eval "$(pyenv init -)" - eval "$(pyenv virtualenv-init -)" -} - - # git aliases alias gs="git status" alias gd="git diff" diff --git a/tasks/packages.yml b/tasks/packages.yml index 6c2d5fc..050ce19 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -151,7 +151,6 @@ - 'psensor' - 'pulseaudio-bluetooth-a2dp-gdm-fix' - 'pyenv' - - 'pyenv-virtualenv' - 'python-pip' - 'python-virtualenv' - 'python2-pip'