Skip to content

Commit

Permalink
fish: Suppress annoying stderr outputs from pyenv-sh-activate
Browse files Browse the repository at this point in the history
  • Loading branch information
Yamashita Yuu committed Jun 4, 2014
1 parent af6c157 commit ea120da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/pyenv-virtualenv-init
Expand Up @@ -80,8 +80,8 @@ fish )
cat <<EOS
function _pyenv_virtualenv_hook --on-event fish_prompt;
if [ "\$VIRTUAL_ENV" != (pyenv prefix) ]
pyenv deactivate
pyenv activate 2>/dev/null; or true
eval (pyenv sh-deactivate)
eval (pyenv sh-activate 2>/dev/null); or true
end
end
EOS
Expand Down

0 comments on commit ea120da

Please sign in to comment.