From dd5217885ee3a5ad0637ebae4cbefe40071aa8c1 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sat, 29 Jun 2024 18:15:24 +0300 Subject: ak-gpg: new flag --list-keys --- lib/_ak_gpg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/_ak_gpg b/lib/_ak_gpg index 81229e1..d220a4b 100755 --- a/lib/_ak_gpg +++ b/lib/_ak_gpg @@ -119,11 +119,11 @@ _ak_gpg_key_self_export(){ } _ak_gpg_list_keys(){ - _ak_gpg --list-keys | grep '^ ' | awk '{print $1}' | tr '\n' ' ' + _ak_gpg --list-keys | grep '^ ' | awk '{print $1}' } _ak_gpg_select_key(){ - select x in $(_ak_gpg_list_keys) + select x in $(_ak_gpg_list_keys | tr '\n' ' ') do echo $x if [ -n "$x" ] -- cgit v1.2.3