From 2473ed37d3dc5052de155fe12511ec80fe9b7e24 Mon Sep 17 00:00:00 2001 From: Taylor Bockman Date: Fri, 13 Dec 2019 12:42:08 -0800 Subject: [PATCH] Alias python to python3 --- dotfiles/bash/bash_profile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dotfiles/bash/bash_profile b/dotfiles/bash/bash_profile index f4844ec..f2c2329 100644 --- a/dotfiles/bash/bash_profile +++ b/dotfiles/bash/bash_profile @@ -1,7 +1,7 @@ [[ -r ~/.bashrc ]] && . ~/.bashrc echo ".bashrc loaded" -# Store private information (exports, keys, etc) in .bash_private. +# Store private information (exports, keys, etc) in .bash_private. [[ -r ~/.bash_private ]] && . ~/.bash_private echo ".bash_private loaded" @@ -9,5 +9,7 @@ export CC=$(which clang) export CXX=$(which clang++) export OPENSSL_ROOT_DIR=$(which openssl) +alias python='python3' + if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi