From 0eba6e85423c90fccb943a6668a5f7ad6fe0a664 Mon Sep 17 00:00:00 2001 From: Salt Date: Mon, 13 Aug 2018 16:03:46 -0500 Subject: [PATCH] .profile: Clean up emerge detection --- .profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.profile b/.profile index 8f022e98..3544f09a 100755 --- a/.profile +++ b/.profile @@ -26,7 +26,7 @@ # care of it # If emerge exists, add emerge aliases -if [ `which emerge` ]; then +if [ "`which emerge > /dev/null 2>&1`" ]; then alias e-depclean='sudo emerge -a --depclean' alias e-inst='sudo emerge -a --jobs --tree --quiet-build y' alias e-upgrade='sudo emerge -DNuva --jobs --tree --quiet-build y --with-bdeps=y @world'