unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Alexandru-Sergiu Marton <brown121407@posteo.ro>
Cc: Alexandru-Sergiu Marton <brown121407@member.fsf.org>,
	40369@debbugs.gnu.org
Subject: bug#40369: guix environment messed up shell
Date: Thu, 02 Apr 2020 18:39:03 +0200	[thread overview]
Message-ID: <87wo6xn8pk.fsf@gnu.org> (raw)
In-Reply-To: <C1QO6KDGTBV0.3ABAPKCJ4SRTC@121408> (Alexandru-Sergiu Marton's message of "Thu, 02 Apr 2020 14:03:04 +0300")

"Alexandru-Sergiu Marton" <brown121407@posteo.ro> 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='\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’.

      reply	other threads:[~2020-04-02 16:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-01 10:03 bug#40369: guix environment messed up shell Alexandru-Sergiu Marton
2020-04-02 10:34 ` Ludovic Courtès
2020-04-02 11:03   ` Alexandru-Sergiu Marton
2020-04-02 16:39     ` Ludovic Courtès [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo6xn8pk.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=40369@debbugs.gnu.org \
    --cc=brown121407@member.fsf.org \
    --cc=brown121407@posteo.ro \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).