Remove trailing whitespace from GIT_STATUS variable
This commit is contained in:
parent
e05101d358
commit
88430f3835
|
@ -82,6 +82,9 @@ function parse_git_status() {
|
|||
GIT_STATUS+="${GIT_MODIFIED}${GIT_STAGED}"
|
||||
GIT_STATUS+="${GIT_DELETED}${GIT_UNTRACKED}"
|
||||
GIT_STATUS+="${FG_CLR}"
|
||||
|
||||
# Remove trailing whitespace
|
||||
GIT_STATUS="$(sed 's/[ ]+$//' <<<"$GIT_STATUS")"
|
||||
}
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in New Issue