From ce7684a7f7765cce36283b54e3c8734c87e547c4 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 3 Apr 2016 12:01:25 +1000 Subject: [PATCH] Reduced size of case statement --- neofetch | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/neofetch b/neofetch index ef6fd612..9dd1681f 100755 --- a/neofetch +++ b/neofetch @@ -1787,13 +1787,8 @@ getbirthday () { birthday=${birthday/$time} case "${time/:*}" in - 0? | 10 | 11) - time+=" AM" - ;; - - *) - time+=" PM" - ;; + 0? | 10 | 11) time+=" AM" ;; + *) time+=" PM" ;; esac birthday+="$time" birthday_shorthand="on"