From b7d708106ec1deefc22a9e71bb7df3d545ddb8e9 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Mon, 29 Apr 2019 11:40:10 +0300
Subject: [PATCH] Set default python3 for pipenv.

---
 .bashrc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.bashrc b/.bashrc
index 82edc4d..585e663 100644
--- a/.bashrc
+++ b/.bashrc
@@ -18,6 +18,8 @@ export PATH="$HOME/.cabal/bin:$PATH"
 export PATH="$HOME/.local/bin:$PATH"
 export PATH="$HOME/Documents/bin:$PATH"
 export PYTHONSTARTUP=~/.config/pythonrc.py
+PIPENV_DEFAULT_PYTHON_VERSION="$(python3 --version | grep -i '3\.[0-9]*')" > /dev/null 2>&1
+export PIPENV_DEFAULT_PYTHON_VERSION=
 export AWS_DEFAULT_PROFILE='shore'
 export ANSIBLE_VERBOSITY=2
 export ANSIBLE_COMMAND_WARNINGS=True
-- 
GitLab