Commit graph

28 commits

Author SHA1 Message Date
xylous
56cde54431
Recognise both types of 'Deleted' flags 2022-01-22 18:13:31 +02:00
xylous
7f00f81ae0
Update screenshot to include deleting files 2022-01-21 16:09:01 +02:00
xylous
3f5f9f4e97
Fix deleted files not being tracked 2022-01-21 16:04:20 +02:00
xylous
19e8c3b5ff
Update screenshot used 2022-01-20 20:39:20 +02:00
xylous
ffb64c1106
Update README.md to inform users of option usage 2022-01-04 22:33:43 +02:00
xylous
abd7948993
Add '-i' option for better inline integration 2022-01-04 22:32:30 +02:00
xylous
e6cac93147 Update misleading README.md 2021-11-05 15:14:10 +02:00
xylous
ad0d1cafb4 Fix spacing on commits-ahead-behind part 2021-10-06 10:55:51 +03:00
xylous
3dc65b4e64 Add screenshot 2021-10-01 17:47:39 +03:00
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.
2021-09-17 20:21:28 +03:00
xylous
fb3045131b Use zsh's builtin %F{} instead of ANSI codes 2021-09-15 20:03:35 +03:00
xylous
61a7b27867 Update installation instructions in README.md 2021-08-08 18:47:48 +03:00
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.
2021-08-08 18:34:17 +03:00
xylous
ebf8726ab7 Update README.md 2021-08-08 17:57:38 +03:00
xylous
fc9b5ecee6 Fix spacing on the 'branch' text 2021-06-29 13:35:56 +03:00
xylous
490e8aa046 Add "unset" to prevent global namespace pollution 2021-06-24 14:15:15 +03:00
xylous
73c7f5d2fa Document all functions in-source 2021-06-19 10:34:39 +03:00
xylous
a520bad83d Update outdated documentation 2021-06-19 09:49:03 +03:00
xylous
a48e4eaf4f Fix spacing 2021-06-18 23:45:11 +03:00
xylous
5b13b77fa3 Fix error where no parameters passed to a function
Also, update the names of a handful variables.
2021-06-18 23:39:12 +03:00
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