Skip to content

Commit

Permalink
Suppress stderr while checking for pyenv-virtualenv #2
Browse files Browse the repository at this point in the history
  • Loading branch information
dyuri committed Aug 5, 2021
1 parent e176fc9 commit 9121b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xontrib/pyenv.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create_alias(output):
if PYENV:
PYENV_PATH = $(@(PYENV) init --path)
PYENV_ENV = $(@(PYENV) init -)
PYENV_VENV = $(@(PYENV) virtualenv-init -)
PYENV_VENV = $(@(PYENV) virtualenv-init - 2> /dev/null)

# add shims to path
source-bash --login=false --interactive=false --suppress-skip-message @(PYENV_PATH) e>/dev/null
Expand Down

0 comments on commit 9121b94

Please sign in to comment.