Source code is using spaces rather than tabs (I'm feeling weird... Is it the right choice?)

This commit is contained in:
Arialdo Martini 2013-11-13 13:43:50 +01:00
parent 1d2bf8ac66
commit 7fc8248e47
2 changed files with 142 additions and 145 deletions

3
base.sh Executable file → Normal file
View File

@ -1,4 +1,3 @@
function enrich {
flag=$1
symbol=$2
@ -13,7 +12,6 @@ function enrich {
}
function build_prompt {
PS1=""
# Git info
current_commit_hash=$(git rev-parse HEAD 2> /dev/null)
@ -32,7 +30,6 @@ function build_prompt {
git_status=$(git status --porcelain 2> /dev/null)
if [[ $git_status =~ ($'\n'|^).M ]]; then has_modifications=true; else has_modifications=false; fi
if [[ $git_status =~ ($'\n'|^)M ]]; then has_modifications_cached=true; else has_modifications_cached=false; fi