Skip to content

Commit

Permalink
fix(zshrc): correct pyenv-virtualenv-init command
Browse files Browse the repository at this point in the history
  • Loading branch information
NitroCao committed Apr 28, 2023
1 parent 9956232 commit ea619ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function setup_pyenv() {
eval "$(pyenv init --path)"
eval "$(pyenv init -)"

if command -v virtualenv >/dev/null 2>&1; then
if command -v pyenv-virtualenv-init >/dev/null 2>&1; then
eval "$(pyenv virtualenv-init -)"
fi
fi
Expand Down

0 comments on commit ea619ce

Please sign in to comment.