From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Roelandt Subject: Re: [PATCH] environment: Set a default value for PS1. Date: Wed, 30 Mar 2016 15:28:55 +0200 Message-ID: <56FBD497.1080309@gmail.com> References: <87io07bdld.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alGBC-0007JK-13 for guix-devel@gnu.org; Wed, 30 Mar 2016 09:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1alGB8-0003Co-4Q for guix-devel@gnu.org; Wed, 30 Mar 2016 09:29:01 -0400 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:35764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1alGB7-0003CR-KI for guix-devel@gnu.org; Wed, 30 Mar 2016 09:28:57 -0400 Received: by mail-wm0-x231.google.com with SMTP id 191so89844202wmq.0 for ; Wed, 30 Mar 2016 06:28:57 -0700 (PDT) Received: from [192.168.0.10] (tal33-3-82-233-82-24.fbx.proxad.net. [82.233.82.24]) by smtp.googlemail.com with ESMTPSA id c128sm19771906wma.11.2016.03.30.06.28.56 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Mar 2016 06:28:56 -0700 (PDT) In-Reply-To: <87io07bdld.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org On 03/28/2016 03:22 AM, David Thompson wrote: > + ;; Set a reasonable default PS1. > + (setenv "PS1" "[ENV] \\u@\\h \\w\\$ ") > + Would it be an acceptable feature to let the user ask for their own PS1? I very often have to make sure my code works on both Python 2.7 and Python 3.4, and it would be very helpful to have environments named "(py27)" and "(py34)" instead of just "[ENV]". Cyril.