Skip to content

Instantly share code, notes, and snippets.

@kyzmitch
Created October 29, 2023 04:37
Show Gist options
  • Save kyzmitch/e8e6d1700de4bf41d16d34ce901b1ee1 to your computer and use it in GitHub Desktop.
Save kyzmitch/e8e6d1700de4bf41d16d34ce901b1ee1 to your computer and use it in GitHub Desktop.
ZShell profile which sometimes needed instead of Bash (shorter than Bash profile)
PATH=$PATH:/opt/homebrew/Cellar/pyenv/2.3.30/bin
export PATH
JAVA_HOME=/opt/homebrew/Cellar/openjdk@17/17.0.8.1
export JAVA_HOME
# Get python from pyenv
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
export PIPENV_PYTHON="$PYENV_ROOT/shims/python"
plugin=(
pyenv
)
eval "$(pyenv init --path)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment