ref: ee24de400c626e4c0cbc057dd6e47f0013961fc8
parent: 7e26a8fd01a62b4ab3fed6f5c521de24a28de3a4
author: Halfwit <michaelmisch1985@gmail.com>
date: Thu Aug 30 12:44:25 PDT 2018
-i to replace in-place. Is a gnu extension
--- a/gitbar
+++ b/gitbar
@@ -15,4 +15,4 @@
"$(append "$(wc -l < "$XDG_DATA_DIR/commits")" "⇄")" \
> "$XDG_RUNTIME_DIR/statusbar/git"
-sed 's/\[\]//' "$XDG_RUNTIME_DIR/statusbar/git"
+sed -i 's/\[\]//' "$XDG_RUNTIME_DIR/statusbar/git"