Skip to content

Instantly share code, notes, and snippets.

@mongrelP
Created September 9, 2011 10:17
Show Gist options
  • Save mongrelP/1205893 to your computer and use it in GitHub Desktop.
Save mongrelP/1205893 to your computer and use it in GitHub Desktop.
portage plugin for oh-my-zsh
if which eix > /dev/null
then
alias esearch="eix "
alias eiup="eix-update "
alias eisync="eix-sync "
alias esync="eix-sync "
else
alias esearch="emerge --search "
alias esync="emerge --sync "
fi
if which revdep-rebuild > /dev/null
then
alias eup="emerge -avuND --fetchonly world && emerge -vuND --keep-going world && revdep-rebuild && emerge -av --depclean"
else
alias eup="emerge -avuND world"
fi
alias eresume="emerge --ask --verboze --resume "
alias emerge="emerge --ask --verboze "
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment