From cba374f273ba316998cefa05b03de1905a336343 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Wed, 16 Jun 2021 13:07:44 +0200 Subject: Add the configurations for install pyenv and virtual env --- .bash_profile | 5 +++++ Brewfile | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.bash_profile b/.bash_profile index c92256b..b4709ab 100644 --- a/.bash_profile +++ b/.bash_profile @@ -55,6 +55,11 @@ eval "$(rbenv init -)" export NVM_DIR=~/.nvm source $(brew --prefix nvm)/nvm.sh +# ==== pyenv config (and virtualenv) +eval "$(pyenv init --path)" +eval "$(pyenv init -)" +eval "$(pyenv virtualenv-init -)" + # ==== Rust config source "$HOME/.cargo/env" diff --git a/Brewfile b/Brewfile index 66db155..3b470a4 100644 --- a/Brewfile +++ b/Brewfile @@ -12,7 +12,8 @@ brew "vim" brew "nvm" brew "yarn" brew "postgresql" -brew "python3" +brew "pyenv" +brew "pyenv-virtualenv" brew "redis" brew "thefuck" brew "the_silver_searcher" @@ -29,7 +30,7 @@ brew "pass" brew "pass-otp" brew "pinentry-mac" brew "wifi-password" -brew "ansible" +# brew "ansible" brew "terraform" brew "hivemind" # brew "nmap" -- cgit v1.2.3