Skip to content

Commit

Permalink
Set python bin path defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Mar 4, 2022
1 parent 64ada47 commit 0bc75d0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .shells/.all/environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ elif is_linux; then
ZSH_SYNTAX_HIGHLIGHTING_PATH=/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

USER_FONTS_DIRECTORY="$HOME/.local/share/fonts"

PYTHON_2_BIN_PATH=
fi

if is_wsl; then
Expand All @@ -127,10 +125,10 @@ fi
[ -d "${VS_CODE_BIN_DIRECTORY_PATH-}" ] && export PATH="${VS_CODE_BIN_DIRECTORY_PATH-}:${PATH}"
unset VS_CODE_BIN_DIRECTORY_PATH

[ -d "${PYTHON_2_BIN_PATH}" ] && export PATH="${PYTHON_2_BIN_PATH}:${PATH}"
[ -d "${PYTHON_2_BIN_PATH:-}" ] && export PATH="${PYTHON_2_BIN_PATH}:${PATH}"
unset PYTHON_2_BIN_PATH

[ -d "${PYTHON_3_BIN_PATH}" ] && export PATH="${PYTHON_3_BIN_PATH}:${PATH}"
[ -d "${PYTHON_3_BIN_PATH:-}" ] && export PATH="${PYTHON_3_BIN_PATH}:${PATH}"
unset PYTHON_3_BIN_PATH

PYTHON_3_USER_BIN_PATH="$HOME/.local/bin"
Expand Down

0 comments on commit 0bc75d0

Please sign in to comment.