.profile: Use a better method of checking for emerge's existence

This commit is contained in:
Salt 2018-08-21 18:37:27 -05:00
parent 842ce3d17c
commit 80a352bd5e

View File

@ -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 -DNUua --jobs --tree --quiet-build y --with-bdeps=y --keep-going --backtrack=1000 @world'