.bashrc
This commit is contained in:
parent
7eeba03a09
commit
5382e0e64f
5
.bashrc
5
.bashrc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue