diff --git a/modules/pacman/functions/pacman-list-explicit b/modules/pacman/functions/pacman-list-explicit index 7c9b08f3..b5e07d0c 100644 --- a/modules/pacman/functions/pacman-list-explicit +++ b/modules/pacman/functions/pacman-list-explicit @@ -11,10 +11,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 88c977f6..45a442b1 100644 --- a/modules/pacman/init.zsh +++ b/modules/pacman/init.zsh @@ -60,7 +60,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)"