Skip to content

Shell slow after running pyenv-virtualenv-init #132

@swarajban

Description

@swarajban

I recently installed pyenv-virtualenv on my mac via Homebrew. I added the line to initialize pyenv-virtualenv in my bash profile:

if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi

In my shell, every time I hit enter, there is a 1-2 second lag before the next line appears on the screen. I have isolated the problem to be the pyenv-virtualenv-init command; without that command in my .bash_profile, my terminal is very fast. The terminal is slow regardless of whether pyenv-virtualenv-init is run via my .bash_profile, or when I run it manually. I have resorted to leaving it off most of the time for now.

Any thoughts on why it would be so slow? Any thing I can log or record on my end to help fix this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions