[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with showing git status in bash
From: |
Simon Albrecht |
Subject: |
Problem with showing git status in bash |
Date: |
Thu, 1 Mar 2018 17:01:08 +0100 |
Hello everybody,
I just applied the suggestion from the CG to add
export PS1="address@hidden \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?
Best, Simon
Screenshot from 2018-03-01 17-00-49.png
Description: PNG image
- Problem with showing git status in bash,
Simon Albrecht <=