dotfiles

<-- duh.
Log | Files | Refs | LICENSE

commit 4a7269b375c4d6437926e47d7b87f42c512520b3
parent aa2b60997ff0019efe86aa811ec8d8a686780239
Author: hhvn <dev@hhvn.uk>
Date:   Sat,  1 Jan 2022 19:34:29 +0000

.rcrc: count unpushed commits properly

Diffstat:
M.rcrc | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.rcrc b/.rcrc @@ -53,11 +53,10 @@ fn __prompt { echo $__prompt_log | awk '-vc=0' ' /^commit/ { if ($0 ~ /\//) { - printf("%d", c) + printf("%d^", c) exit - } + } else c += 1 }' - printf '^' } # dir