Skip to content

Commit

Permalink
better pyenv check
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaddr committed Oct 30, 2019
1 parent 16a63dd commit 3346631
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,16 @@ if type nvim > /dev/null; then
fi


if type pyenv > /dev/null; then
if [ -d "$HOME/.pyenv" ]; then
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
source "$(pyenv root)/completions/pyenv.zsh"
fi

if type jenv > /dev/null; then
eval "$(jenv init -)"
fi

# export GDK_SCALE=2
# export GDK_DPI_SCALE=0.5

0 comments on commit 3346631

Please sign in to comment.