Il giorno gio 1 mar 2018 alle 17:01, Simon Albrecht <"simon.albrecht"@mail.de> ha scritto:
Hello everybody,

I just applied the suggestion from the CG to add

export PS1="\u@\h \w\$(__git_ps1)$ "
export GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
export GIT_PS1_SHOWUPSTREAM=auto

to ~/.bashrc in order to show the status of a git repository in the command prompt. Attached is an image of what I got: colouring as well as the colon after the host name got lost. Can that be prevented?



You should adapt the PS1 variable.
Well, adding the colon back is easy: type : after \h. For the colors, have a look here:
https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/




_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to