]> git.wh0rd.org Git - home.git/commitdiff
add shortcuts for working with local cvs tree
authorMike Frysinger <vapier@gentoo.org>
Mon, 28 Jan 2013 20:59:04 +0000 (15:59 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 28 Jan 2013 20:59:04 +0000 (15:59 -0500)
.profile.d/gentoo.sh

index a740e25998c01d976a3e0a8952b161e7cf797247..1f29037ec860d9c5ac49488497b56c0293ed8982 100644 (file)
@@ -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