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'