No useless comments
This commit is contained in:
parent
69223aa1a3
commit
1d2bf8ac66
1
base.sh
1
base.sh
@ -45,7 +45,6 @@ function build_prompt {
|
|||||||
|
|
||||||
if [[ $git_status =~ ($'\n'|^)[MAD] && ! $git_status =~ ^.[MAD\?] ]]; then ready_to_commit=true; else ready_to_commit=false; fi
|
if [[ $git_status =~ ($'\n'|^)[MAD] && ! $git_status =~ ^.[MAD\?] ]]; then ready_to_commit=true; else ready_to_commit=false; fi
|
||||||
|
|
||||||
#xxx
|
|
||||||
number_of_untracked_files=`echo $git_status | grep -c "^??"`
|
number_of_untracked_files=`echo $git_status | grep -c "^??"`
|
||||||
if [[ $number_of_untracked_files -gt 0 ]]; then has_untracked_files=true; else has_untracked_files=false; fi
|
if [[ $number_of_untracked_files -gt 0 ]]; then has_untracked_files=true; else has_untracked_files=false; fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user