From c03c9e12480ea18117d239625eea0faf9f10e6b0 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 2 Jun 2018 15:02:34 +1000 Subject: [PATCH] packages: refactor --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index dc799d08..9df45df9 100755 --- a/neofetch +++ b/neofetch @@ -1343,7 +1343,7 @@ get_packages() { elif [[ "$package_manager" == "on" ]]; then managers="${managers/pacman-key/pacman}" managers="${managers/kpt-pkg/kpt}" - packages+=" (${managers::-2})" + packages+=" (${managers%,*})" fi }