36 Commits (master)
 

Author SHA1 Message Date
Siina Mashek 39273e41a5 Changing git branch to unicode representation 5 months ago
xylous d629cb14cb
Refactor code determining prompt colour 1 year ago
xylous 816cd8a54b
Recognise 'R' flag 1 year ago
xylous ff79586ace
Fix typo: use colour code instead of variable 2 years ago
xylous 21001cab5f
Fix inconsistencies
Some variables were delimited by curly braces, others weren't. Enclose
all multi-character variable names in curly braces.

Some variables were redundant. Remove them.
2 years ago
xylous 7f06c8c7b5
Add a boilerplate & fix vague comments 2 years ago
xylous 74dcbbc51e
Update old Copyright notice 2 years ago
xylous 0292970486
Add 'AM' to the list of supported flags 2 years ago
xylous 56cde54431
Recognise both types of 'Deleted' flags 2 years ago
xylous 7f00f81ae0
Update screenshot to include deleting files 2 years ago
xylous 3f5f9f4e97
Fix deleted files not being tracked 2 years ago
xylous 19e8c3b5ff
Update screenshot used 2 years ago
xylous ffb64c1106
Update README.md to inform users of option usage 2 years ago
xylous abd7948993
Add '-i' option for better inline integration 2 years ago
xylous e6cac93147 Update misleading README.md 2 years ago
xylous ad0d1cafb4 Fix spacing on commits-ahead-behind part 2 years ago
xylous 3dc65b4e64 Add screenshot 2 years ago
xylous 8029f58990 Fix branch name spacing
On branches tracking remotes, there would be two spaces between the last
character and the first character in the status part. On other branches,
there'd only be one. Make it so that there's only one space at all
times.

In the function calculating differences between local and remote
histories, an extra space was added before the first part, thus where
the second space came from. Remove that.
2 years ago
xylous fb3045131b Use zsh's builtin %F{} instead of ANSI codes 2 years ago
xylous 61a7b27867 Update installation instructions in README.md 2 years ago
xylous 0387deb641 Export a function instead of running w/shebang
To make integrating with plugin managers as easy as possible,
plugins/scripts shouldn't be sourced on their own; instead, they should
export functions.
2 years ago
xylous ebf8726ab7 Update README.md 2 years ago
xylous fc9b5ecee6 Fix spacing on the 'branch' text 2 years ago
xylous 490e8aa046 Add "unset" to prevent global namespace pollution 2 years ago
xylous 73c7f5d2fa Document all functions in-source 2 years ago
xylous a520bad83d Update outdated documentation 2 years ago
xylous a48e4eaf4f Fix spacing 2 years ago
xylous 5b13b77fa3 Fix error where no parameters passed to a function
Also, update the names of a handful variables.
2 years ago
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.
2 years ago
xylous 208cfc43ee Use ANSI color codes instead of the zsh builtin %F{} 2 years ago
xylous 88430f3835 Remove trailing whitespace from GIT_STATUS variable 2 years ago
xylous e05101d358 Add README.md 2 years ago
xylous 9c79daa0f5 Add MIT License 2 years ago
xylous 38ed00375f Make script more portable 2 years ago
xylous e267362a9a Simplify code 2 years ago
xylous 1b81ab7bb3 Initial Commit 2 years ago