From ea120da0c5059509dd761898f6fc5ab9232157e3 Mon Sep 17 00:00:00 2001 From: Yamashita Yuu Date: Mon, 2 Jun 2014 22:32:03 +0900 Subject: [PATCH] fish: Suppress annoying stderr outputs from `pyenv-sh-activate` --- bin/pyenv-virtualenv-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pyenv-virtualenv-init b/bin/pyenv-virtualenv-init index d1b71ee..93a566a 100755 --- a/bin/pyenv-virtualenv-init +++ b/bin/pyenv-virtualenv-init @@ -80,8 +80,8 @@ fish ) cat </dev/null; or true + eval (pyenv sh-deactivate) + eval (pyenv sh-activate 2>/dev/null); or true end end EOS