Преглед на файлове

Merge branch 'master' of github.com:10sr/dotfiles

pull/1/head
10sr преди 10 години
родител
ревизия
612991c591
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      bashrc

+ 2
- 2
bashrc Целия файл

@@ -835,14 +835,14 @@ for f in /usr/share/git/git-prompt.sh \
/opt/local/share/git-core/git-prompt.sh \ /opt/local/share/git-core/git-prompt.sh \
/opt/local/share/doc/git-core/contrib/completion/git-prompt.sh /opt/local/share/doc/git-core/contrib/completion/git-prompt.sh
do do
test -r $f && . $f && break
test -r "$f" && . "$f" && break
done done
GIT_PS1_SHOWDIRTYSTATE=t GIT_PS1_SHOWDIRTYSTATE=t
GIT_PS1_SHOWUPSTREAM=t GIT_PS1_SHOWUPSTREAM=t
__my_ps1_git(){ __my_ps1_git(){
local last=$? local last=$?
null type __git_ps1 || return $last null type __git_ps1 || return $last
null __gitdir || return $last
null git rev-parse --git-dir >/dev/null 2>&1 || return $last
__git_ps1 "[GIT:$(__try_exec git config --get user.name):%s]" __git_ps1 "[GIT:$(__try_exec git config --get user.name):%s]"
return $last return $last
} }


Зареждане…
Отказ
Запис