]> git.sev.monster Git - dotfiles.git/commitdiff
apkv: sort apk info
authorsev <git@sev.monster>
Fri, 2 Jul 2021 18:40:52 +0000 (13:40 -0500)
committersev <git@sev.monster>
Fri, 2 Jul 2021 18:40:52 +0000 (13:40 -0500)
bin/apkv

index 012d8e2b74de4d6153c167a144eae1865eb126bd..7ae7051e1a55ed5277623a3d73ffd639011848ed 100755 (executable)
--- 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
This page took 0.037074 seconds and 4 git commands to generate.