From eca710ea1b8e72c16431b0159223a4f2ee85a98d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 28 Jan 2013 15:59:04 -0500 Subject: [PATCH] add shortcuts for working with local cvs tree --- .profile.d/gentoo.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5