diff --git a/fetch b/fetch index c2ec6e45..f89b94ea 100755 --- a/fetch +++ b/fetch @@ -1784,10 +1784,6 @@ info () { string="${underline_color}${output}" ;; - linebreak | cols) - string="" - ;; - *) string="${bold}${subtitle_color}${subtitle}${clear}" string+="${colon_color}: ${info_color}${output}" @@ -1795,6 +1791,9 @@ info () { ;; esac + # If there's no subtitle don't print one + [ -z "$2" ] && string=${string/*: } + # Print the string printf "%b%s\n" "${padding}${string}${clear}" }