|
|
@ -95,8 +95,6 @@ function git-info {
|
|
|
|
setopt LOCAL_OPTIONS
|
|
|
|
setopt LOCAL_OPTIONS
|
|
|
|
setopt EXTENDED_GLOB
|
|
|
|
setopt EXTENDED_GLOB
|
|
|
|
|
|
|
|
|
|
|
|
local git_dir="$(git-dir)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
local action
|
|
|
|
local action
|
|
|
|
local action_format
|
|
|
|
local action_format
|
|
|
|
local action_formatted
|
|
|
|
local action_formatted
|
|
|
@ -170,6 +168,8 @@ function git-info {
|
|
|
|
return 1
|
|
|
|
return 1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
local git_dir="$(git-dir)"
|
|
|
|
|
|
|
|
|
|
|
|
if (( $# > 0 )); then
|
|
|
|
if (( $# > 0 )); then
|
|
|
|
if [[ "$1" == [Oo][Nn] ]]; then
|
|
|
|
if [[ "$1" == [Oo][Nn] ]]; then
|
|
|
|
git config --bool prompt.showinfo true
|
|
|
|
git config --bool prompt.showinfo true
|
|
|
|