From 5a87bed817142fd5125f440d5ed1c3e8ff81ab8a Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 13 May 2016 09:14:02 +1000 Subject: [PATCH] NetBSD fix stray percent sign in battery output --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 6a9af725..bce32f3e 100755 --- a/neofetch +++ b/neofetch @@ -1849,7 +1849,7 @@ getbattery () { "NetBSD"*) battery=$(envstat | awk '\\(|\\)' '/charge:/ {print $2}') - battery="${battery:+/\.*}%" + battery="${battery/\.*/%}" ;; esac ;;