From 1686dd141b5adb2b48bbe675680a5dd2976a7a4e Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 14 Aug 2016 10:55:01 +1000 Subject: [PATCH] Fix quotes in subtitles on iOS --- neofetch | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/neofetch b/neofetch index 5ea90e2d..0262f735 100755 --- a/neofetch +++ b/neofetch @@ -2209,15 +2209,18 @@ prin() { bold= fi + # Reset colors/bold + reset="\033[0m" + # Format the output - string="${string/:/"\033[0m"${colon_color}:${info_color}}" + string="${string/:/${reset}${colon_color}:${info_color}}" string="${subtitle_color}${bold}${string}" # Trim whitespace string="$(trim "$string")" # Print the info - printf "%b%s\n" "${padding}${string}\033[0m" + printf "%b%s\n" "${padding}${string}${reset}" } # }}}