Change --type int to --type bool for a git command.
This commit is contained in:
parent
def278316a
commit
e6fe41c5a1
1 changed files with 1 additions and 1 deletions
2
.bashrc
2
.bashrc
|
@ -201,7 +201,7 @@ __git_prompt_command() {
|
|||
REPO_TIMESTAMP="$(git config --local --get --type int script.AutoMergeLast)"
|
||||
(( ${!TIMESTAMP_VAR:-0} < REPO_TIMESTAMP )) && {
|
||||
# Display message depending on status.
|
||||
if [[ "$(git config --local --get --type int script.AutoMergeSuccess)" == "true" ]]; then
|
||||
if [[ "$(git config --local --get --type bool script.AutoMergeSuccess)" == "true" ]]; then
|
||||
printf "\\033[1;32m%s" "Git auto-merge succeeded for this repo."
|
||||
if [[ "${GIT_REPO_INFO[1]}" == "$HOME" ]]; then
|
||||
printf " %s\\033[0m\\n" "Re-source .bash* files."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue