This commit is contained in:
Timo Schmidt 2023-03-27 18:22:48 +02:00
parent 6ed3c0f733
commit 694a6e4acc
1 changed files with 10 additions and 2 deletions

12
.bashrc
View File

@ -22,6 +22,16 @@ xset r rate 200 60
PATH="${PATH}:/nfs/homes/tischmid/.local/bin" PATH="${PATH}:/nfs/homes/tischmid/.local/bin"
if [ -f ~/git-prompt.sh ]; then
. ~/git-prompt.sh
else
:
# source <(curl -L 'https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh')
fi
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$ '
##----------------------------------------------------- ##-----------------------------------------------------
## synth-shell-greeter.sh ## synth-shell-greeter.sh
if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ]; then if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-greeter.sh ] && [ -n "$( echo $- | grep i )" ]; then
@ -34,9 +44,7 @@ fi
if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ]; then if [ -f /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh ] && [ -n "$( echo $- | grep i )" ]; then
: :
# source /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh # source /nfs/homes/tischmid/.config/synth-shell/synth-shell-prompt.sh
# PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\]\w\[\033[m\]\n$ '
fi fi
PS1='\[\033[31m\]\u\[\033[m\]@\[\033[32m\]\h\[\033[m\] \[\033[33m\]\w\[\033[m\]\n$ '
##----------------------------------------------------- ##-----------------------------------------------------
## better-ls ## better-ls