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/7d7ffd761724c1d0f1b1e018d9b1df218420fb60 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