This commit is contained in:
Timo Schmidt 2023-03-27 18:53:28 +02:00
parent 7eeba03a09
commit 5382e0e64f
1 changed files with 2 additions and 3 deletions

View File

@ -25,12 +25,11 @@ PATH="${PATH}:/nfs/homes/tischmid/.local/bin"
if [ -f ~/git-prompt.sh ]; then if [ -f ~/git-prompt.sh ]; then
. ~/git-prompt.sh . ~/git-prompt.sh
else else
: source <(curl --silent --location 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh')
# source <(curl -L 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh')
fi fi
export GIT_PS1_SHOWDIRTYSTATE=1 export GIT_PS1_SHOWDIRTYSTATE=1
PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\]\w\[\033[m\]\[\033[35m\]$(__git_ps1 " (%s)")\[\033[m\]\n$ ' PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\][\w]\[\033[m\]\[\033[36m\]$(__git_ps1 " (%s)")\[\033[m\]\n$ '
##----------------------------------------------------- ##-----------------------------------------------------
## synth-shell-greeter.sh ## synth-shell-greeter.sh