From 110b8b1227690b282fd18c2753eb70b73ee0d23e Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 22 Dec 2016 16:46:11 +0000 Subject: [PATCH] Remove python hotfix, enforce pyenv --- Makefile | 5 +---- bash/applications.sh | 10 +++------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 4443d85..a869e9b 100644 --- a/Makefile +++ b/Makefile @@ -39,7 +39,4 @@ pacman: sudo pacman-key --lsign-key 962DDE58 gpg --keyserver pool.sks-keyservers.net --recv-keys 2E1AC68ED40814E0 # gotta be a way to add to pacman, not my GPG -hot-fix: - sudo ln -sfP /usr/bin/python2 /usr/bin/python # Set the default python version to be python 2 - -.PHONY: apt bash bin config gnome yaourt pacman hot-fix +.PHONY: apt bash bin config gnome yaourt pacman diff --git a/bash/applications.sh b/bash/applications.sh index e00f358..f25cf0a 100644 --- a/bash/applications.sh +++ b/bash/applications.sh @@ -4,13 +4,9 @@ export NVM_DIR="$HOME/.nvm" eval $(thefuck --alias) -if [ -s "$HOME/.pyenv/bin/pyenv" ]; -then - export PATH="$HOME/.pyenv/bin:$PATH" - eval "$(pyenv init -)" - eval "$(pyenv virtualenv-init -)" -fi - +export PATH="$HOME/.pyenv/bin:$PATH" +eval "$(pyenv init -)" +eval "$(pyenv virtualenv-init -)" # git aliases