diff --git a/modules/pacman/functions/pacman-list-explicit b/modules/pacman/functions/pacman-list-explicit index 7359bfedeb..78dd7b6e67 100644 --- a/modules/pacman/functions/pacman-list-explicit +++ b/modules/pacman/functions/pacman-list-explicit @@ -9,10 +9,13 @@ pacman --query --explicit --info \ | awk ' BEGIN { - FS=":" + FS=" : " } /^Name/ { - print $2 + printf "\033[0;01m" $2 "\033[0m" + } + /^Version/ { + print " \033[1;32m" $2 "\033[0m" } /^Description/ { print $2 diff --git a/modules/pacman/init.zsh b/modules/pacman/init.zsh index 2b4f0a22e4..e3cc179d68 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -64,7 +64,7 @@ alias pacs="${_pacman_frontend} --sync --search" alias pacS="${_pacman_frontend} --query --search" # Lists orphan packages. -alias pacman-list-orphans="${_pacman_sudo}${_pacman_frontend} --query --deps --unrequired" +alias pacman-list-orphans="${_pacman_frontend} --query --deps --unrequired" # Removes orphan packages. alias pacman-remove-orphans="${_pacman_sudo}${_pacman_frontend} --remove --recursive \$(${_pacman_frontend} --quiet --query --deps --unrequired)"