Package: git Version: 1:1.8.1.1-1 Severity: normal File: /usr/lib/git-core/git-sh-prompt
I have this configuration (colours stripped for simplification): pabs@chianamo ~ $ cat ~/.bash.d/{git,z_prompt} export GIT_PS1_SHOWDIRTYSTATE=true export GIT_PS1_SHOWSTASHSTATE=true export GIT_PS1_SHOWUNTRACKEDFILES=true export GIT_PS1_SHOWUPSTREAM=auto export GIT_PS1_SHOWCOLORHINTS=true export GIT_PS1_DESCRIBE_STYLE=branch export PROMPT_COMMAND='__git_ps1 "\[\e]0;\u@\h: \w\a\]\u@\h\ \w" " \\\$ "' I switched from editing PS1 to PROMPT_COMMAND because it gets me the new colour stuff in the git part of my prompt, it looks like this in xterm: pabs@chianamo ~ $ When I login on a virtual console (with TERM=linux), I get this instead: ;pabs@chianamo: ~pabs@chianamo ~ $ I think it should look the same under TERM=xterm and TERM=linux. -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.7-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages git depends on: ii git-man 1:1.8.1.1-1 ii libc6 2.13-37 ii libcurl3-gnutls 7.26.0-1 ii liberror-perl 0.17-1 ii libexpat1 2.1.0-1 ii libpcre3 1:8.30-5 ii perl-modules 5.14.2-16 ii zlib1g 1:1.2.7.dfsg-13 Versions of packages git recommends: ii less 444-4 ii openssh-client [ssh-client] 1:6.0p1-3 ii patch 2.6.1-3 ii rsync 3.0.9-4 Versions of packages git suggests: ii gettext-base 0.18.1.1-9 pn git-arch <none> ii git-cvs 1:1.8.1.1-1 pn git-daemon-run | git-daemon-sysvinit <none> pn git-doc <none> pn git-el <none> ii git-email 1:1.8.1.1-1 ii git-gui 1:1.8.1.1-1 ii git-svn 1:1.8.1.1-1 ii gitk 1:1.8.1.1-1 pn gitweb <none> -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part