hlfw.ca

hwwm

Download patch

ref: 951de9937025f01e3c486cf48f8b32c0d4a37ce2
parent: fe783b025cc1a493f27f18a27796d85963a26a1b
author: Halfwit <michaelmisch1985@gmail.com>
date: Thu Aug 30 12:58:55 PDT 2018

Hard to test git utilities like this without a lot of commits

--- a/gitbar
+++ b/gitbar
@@ -16,7 +16,7 @@
 }
 
 tmp="$(stringify)"
-case "$tmp" in
-	\[\]) echo "" > "$GITBAR"             ;;
+case "_$tmp" in
+	_) echo "" > "$GITBAR"             ;;
 	*) printf '[%s]\n' "$tmp" > "$GITBAR" ;;
 esac