From: Mike Frysinger Date: Mon, 28 Jan 2013 20:59:04 +0000 (-0500) Subject: add shortcuts for working with local cvs tree X-Git-Url: https://git.wh0rd.org/?p=home.git;a=commitdiff_plain;h=eca710ea1b8e72c16431b0159223a4f2ee85a98d add shortcuts for working with local cvs tree --- diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index a740e25..1f29037 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -1,3 +1,6 @@ +alias ebuild-sync='rsync -av ./ /usr/portage/${PWD#/usr/local/src/gentoo-x86/} --exclude ChangeLog --exclude CVS --exclude metadata.xml --delete' +alias ebuild-emerge='sudo emerge -1av $(echo ${PWD} | awk -F/ "{printf \"%s/%s\", \$(NF-1), \$(NF)}")' + cvs_gentoo_url() { _cvs_gentoo_url() { if [[ -n $2 ]] ; then