From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexandru-Sergiu Marton" Subject: bug#40369: guix environment messed up shell Date: Thu, 02 Apr 2020 14:03:04 +0300 Message-ID: References: Reply-To: Alexandru-Sergiu Marton Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48825) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJxtD-00025x-7S for bug-guix@gnu.org; Thu, 02 Apr 2020 07:20:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJxtC-0007wX-Ak for bug-guix@gnu.org; Thu, 02 Apr 2020 07:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55974) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJxtC-0007wS-7S for bug-guix@gnu.org; Thu, 02 Apr 2020 07:20:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJxtC-0001Lp-1Q for bug-guix@gnu.org; Thu, 02 Apr 2020 07:20:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87r1x6p459.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Alexandru-Sergiu Marton , 40369@debbugs.gnu.org > 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.