1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-06-14 20:41:44 +00:00

Renamed check-bool to is-true.

This commit is contained in:
Sorin Ionescu
2012-01-20 22:03:17 -05:00
parent 84ce0f42b5
commit b2fcfc684c
5 changed files with 7 additions and 7 deletions

View File

@ -60,7 +60,7 @@ function _git-action() {
# Turns off git-info for the current repository.
function _git-info-abort() {
if ! check-bool "$_git_info_executing"; then
if ! is-true "$_git_info_executing"; then
return 1
fi
@ -146,7 +146,7 @@ function git-info() {
unset git_rprompt_info
# Return if not inside a Git repository work tree.
if ! check-bool "$(git rev-parse --is-inside-work-tree 2> /dev/null)"; then
if ! is-true "$(git rev-parse --is-inside-work-tree 2> /dev/null)"; then
return 1
fi
@ -162,7 +162,7 @@ function git-info() {
fi
# Return if git-info is disabled.
if ! check-bool "${$(git config --bool prompt.showinfo):-true}"; then
if ! is-true "${$(git config --bool prompt.showinfo):-true}"; then
return 1
fi