lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with showing git status in bash


From: Joram
Subject: Re: Problem with showing git status in bash
Date: Thu, 1 Mar 2018 20:59:31 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hi Simon,

you can also look at the variable before changing it:

echo $PS1

You'll probably find the colors there like '\[\033[00m\]'.

The git-part you want to add is just the '$(__git_ps1)' part. So you can
use the original $PS1 and add that part if you don't want other changes.

Best,
Joram



reply via email to

[Prev in Thread] Current Thread [Next in Thread]