|
@@ -460,19 +460,10 @@ __sdcv_less(){ |
|
|
|
|
|
|
|
|
command -v sdcv >/dev/null && alias dict=__sdcv_less |
|
|
command -v sdcv >/dev/null && alias dict=__sdcv_less |
|
|
|
|
|
|
|
|
g(){ |
|
|
|
|
|
if test $# -eq 0 && null type git-info |
|
|
|
|
|
then |
|
|
|
|
|
git info |
|
|
|
|
|
else |
|
|
|
|
|
git "$@" |
|
|
|
|
|
fi |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
__safe_alias g="git " |
|
|
|
|
|
|
|
|
$isdarwin && $inbash && \ |
|
|
$isdarwin && $inbash && \ |
|
|
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash |
|
|
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash |
|
|
$isdarwin && $inzsh && \ |
|
|
|
|
|
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.zsh |
|
|
|
|
|
|
|
|
|
|
|
if null type _git && $inbash |
|
|
if null type _git && $inbash |
|
|
then |
|
|
then |
|
@@ -1053,7 +1044,8 @@ for f in /usr/share/git/git-prompt.sh \ |
|
|
do |
|
|
do |
|
|
if test -r "$f" && ($inbash || $inzsh) |
|
|
if test -r "$f" && ($inbash || $inzsh) |
|
|
then |
|
|
then |
|
|
echo Srouce $f |
|
|
|
|
|
|
|
|
. "$f" |
|
|
|
|
|
break |
|
|
fi |
|
|
fi |
|
|
done |
|
|
done |
|
|
export GIT_PS1_SHOWDIRTYSTATE=t |
|
|
export GIT_PS1_SHOWDIRTYSTATE=t |
|
|