Commit graph

8 commits

Author SHA1 Message Date
xylous
70cec22db5 Split large function into smaller ones
Split former `parse_git_status` function, which was around 60 lines of
code, into multiple small functions.

Also, instead of polluting the global namespace with a lot of variables,
make functions return something through a $REPLY variable. Or the
$STATUS variable, in the case of the *new* parse_git_status function.
2021-06-18 23:19:19 +03:00
xylous
208cfc43ee Use ANSI color codes instead of the zsh builtin %F{} 2021-05-30 11:14:41 +03:00
xylous
88430f3835 Remove trailing whitespace from GIT_STATUS variable 2021-05-19 18:23:27 +03:00
xylous
e05101d358 Add README.md 2021-05-19 13:32:27 +03:00
xylous
9c79daa0f5 Add MIT License 2021-05-19 12:13:14 +03:00
xylous
38ed00375f Make script more portable 2021-05-15 17:48:12 +03:00
xylous
e267362a9a Simplify code 2021-05-15 17:34:41 +03:00
xylous
1b81ab7bb3 Initial Commit 2021-05-15 16:47:38 +03:00