From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40369: guix environment messed up shell Date: Thu, 02 Apr 2020 18:39:03 +0200 Message-ID: <87wo6xn8pk.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38335) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jK2ss-0002KK-VS for bug-guix@gnu.org; Thu, 02 Apr 2020 12:40:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jK2ss-0000jf-49 for bug-guix@gnu.org; Thu, 02 Apr 2020 12:40:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jK2ss-0000ja-0p for bug-guix@gnu.org; Thu, 02 Apr 2020 12:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jK2sr-00009Q-V0 for bug-guix@gnu.org; Thu, 02 Apr 2020 12:40:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (Alexandru-Sergiu Marton's message of "Thu, 02 Apr 2020 14:03:04 +0300") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Alexandru-Sergiu Marton Cc: Alexandru-Sergiu Marton , 40369@debbugs.gnu.org "Alexandru-Sergiu Marton" skribis: >> What shell do you use? > > bash > >> Could you check if this is somehow due to PS1? For instance run: >> >> guix environment neovim >> export PS1=3D'\u\$ ' >> write a loooong line > > That fixed it, so it isn't a Guix bug. Thanks a lot! > > It was something wrong with how I set the colors with tput that only > manifested when I entered an environment cause that appends a colored > "[env]" to my PS1. Cool, thanks for letting us know! Ludo=E2=80=99.