diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-06-29 18:15:24 +0300 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-06-29 18:15:24 +0300 |
commit | dd5217885ee3a5ad0637ebae4cbefe40071aa8c1 (patch) | |
tree | 7a627a1a71938316133f357e576f2ea28812f32e /lib | |
parent | f9c0cbe0340e22f9bb11e77b6c0f302364c391db (diff) | |
download | arching-kaos-tools-dd5217885ee3a5ad0637ebae4cbefe40071aa8c1.tar.gz arching-kaos-tools-dd5217885ee3a5ad0637ebae4cbefe40071aa8c1.tar.bz2 arching-kaos-tools-dd5217885ee3a5ad0637ebae4cbefe40071aa8c1.zip |
ak-gpg: new flag --list-keys
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/_ak_gpg | 4 |
1 files changed, 2 insertions, 2 deletions
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" ] |