From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MUG3V-0001YW-DB for garchives@archives.gentoo.org; Fri, 24 Jul 2009 08:23:05 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 07DDEE01B4; Fri, 24 Jul 2009 08:23:04 +0000 (UTC) Received: from sauxb.salomon.at (smtp.salomon.at [193.186.16.13]) by pigeon.gentoo.org (Postfix) with ESMTP id 9CB85E01B4; Fri, 24 Jul 2009 08:23:03 +0000 (UTC) Received: from servex01.wamas.com (servex01.salomon.at [172.28.2.2]) by sauxb.salomon.at (8.12.10/8.12.10) with ESMTP id n6O8MoaI016011; Fri, 24 Jul 2009 10:22:51 +0200 (METDST) Received: from [172.28.8.78] ([172.28.8.78]) by servex01.wamas.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 24 Jul 2009 10:22:50 +0200 Message-ID: <4A696F59.5000200@gentoo.org> Date: Fri, 24 Jul 2009 10:22:49 +0200 From: Michael Haubenwallner User-Agent: Thunderbird 2.0.0.22 (X11/20090720) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org CC: Robert Buchholz , gentoo-soc@lists.gentoo.org Subject: Re: [gentoo-dev] Re: [gentoo-soc] Re: Progress on Universal Select Tool References: <1245163715.14589.515.camel@thedude> <8b4c83ad0907222232o6499fcbcjce1d8a063d93d5c1@mail.gmail.com> <1248356100.8713.11.camel@thedude> <200907231728.23329.rbu@gentoo.org> <1248374038.8713.96.camel@thedude> In-Reply-To: <1248374038.8713.96.camel@thedude> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 24 Jul 2009 08:22:50.0098 (UTC) FILETIME=[EEB3DD20:01CA0C37] X-Scanned-By: MIMEDefang 2.54 on 172.28.2.13 X-Archives-Salt: 4c49063d-beb3-4421-87b7-7fd3ca31dc98 X-Archives-Hash: e4a864977a6397f6511791c9449d66f1 S=C3=A9rgio Almeida wrote: > On Thu, 2009-07-23 at 17:28 +0200, Robert Buchholz wrote: >> On Thursday 23 July 2009, S=C3=A9rgio Almeida wrote: >>> You changedir, you call uprofile, and >>> voila, new profile. You login again, default profile. =2E.., change back to your home dir, call uprofile, and you have your default (=3Dlogin) environment. > if cmd =3D 'chdir': > uprofile > What do you guys think? While the per-directory profile sounds interesting and useful (a really good idea!), as it might solve the requirement for per-project environment here, the automatism for the 'cd' command feels like more confusing than useful: "WTF does 'cd' more than change directory?" Instead, provide a command to update the environment for the current directory, which does search for an .uprofile/ in all the parent directories when there is no local one. Additionally, (let the user) define a *new* command that does both changing directory and updating the environment. Another point: the per-directory profile solution feels like there is no need to distinguish between user- and directory-profile any more - as the user-profile would not be anything different than ~/.uprofile/, no? Thank you! /haubi/