Gentoo Archives: gentoo-dev

From: Robert Buchholz <rbu@g.o>
To: gentoo-dev@l.g.o
Subject: [OT] Re: [gentoo-dev] sci-libs/scipy -> dev-python/scipy ?
Date: Tue, 08 Jul 2008 17:58:00
Message-Id: 200807081959.08577.rbu@gentoo.org
In Reply to: Re: [gentoo-dev] sci-libs/scipy -> dev-python/scipy ? by Joe Peterson
1 On Tuesday 08 July 2008, Joe Peterson wrote:
2 > Donnie Berkholz wrote:
3 > > I meant moves were largely pointless, although categories are to a
4 > > lesser extent. Tags would be a lot better, since nothing can be
5 > > categorized perfectly into a single place.
6 >
7 > Yes, I can see the benefit of a tag paradigm. I, myself, find it
8 > more trouble than benefit to have the extra directory level. I often
9 > do "cd /usr/portage/*/foo" to get to the foo package, and it often
10 > gets a hit in licenses or elsewhere that trips up this practice...
11
12 You can avoid the issue with the license directory by appending a / at
13 the end. Grobian showed me that a function is useful for this, I just
14 do "ecd xorg-server"
15
16 $ grep -A 3 ecd ~/.bashrc
17 function ecd () {
18 cd ~/devel/gentoo/gentoo-x86/*/$@/
19 }
20
21 You could even change the /*/ to /*-*/ to exclude packages or profiles.
22
23 Robert

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: [OT] ecd function Fabian Groffen <grobian@g.o>