List Archive: gentoo-dev
On Tuesday 08 July 2008, Joe Peterson wrote:
> Donnie Berkholz wrote:
> > I meant moves were largely pointless, although categories are to a
> > lesser extent. Tags would be a lot better, since nothing can be
> > categorized perfectly into a single place.
>
> Yes, I can see the benefit of a tag paradigm. I, myself, find it
> more trouble than benefit to have the extra directory level. I often
> do "cd /usr/portage/*/foo" to get to the foo package, and it often
> gets a hit in licenses or elsewhere that trips up this practice...
You can avoid the issue with the license directory by appending a / at
the end. Grobian showed me that a function is useful for this, I just
do "ecd xorg-server"
$ grep -A 3 ecd ~/.bashrc
function ecd () {
cd ~/devel/gentoo/gentoo-x86/*/$@/
}
You could even change the /*/ to /*-*/ to exclude packages or profiles.
Robert
|
| Attachment: |
|
signature.asc (This is a digitally signed message part.)
|
|