From: sev Date: Fri, 2 Jul 2021 18:40:52 +0000 (-0500) Subject: apkv: sort apk info X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/commitdiff_plain/65ebcb39f6c52361b7d10d42a52ae7399dbe5ebe?ds=sidebyside;hp=4974d6710103d2c5c0b61817b29739b5f8fbc4be apkv: sort apk info --- diff --git a/bin/apkv b/bin/apkv index 012d8e2..7ae7051 100755 --- a/bin/apkv +++ b/bin/apkv @@ -84,7 +84,7 @@ if [ "$method" = list ]; then # ignore getopt's --, we don't care if an arg begins with - anyway [ "$1" = '--' ] && switch >/dev/null - all=$(apk info) + all=$(apk info | sort) # show packages if no args if [ $# -eq 0 ]; then for x in $(echo "$all" | grep '^\.'); do