From 00b5378a62d29f7489075f6d747d50f07cb45caa Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 19 Nov 2026 19:04:32 +0000 Subject: continuum-party keys: files of keys too `keys --add`, `--remove` and `--set` took authorized_keys lines alone, each one argument, so a .pub file went in as "$(cat phone.pub)". They take files of such lines too now, as `propose admit` and `propose keys` do (keys_given, of which key_lines is the one asking for a key at least), and bash completes files there. --- share/bash-completion/completions/continuum-party | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'share/bash-completion/completions/continuum-party') diff --git a/share/bash-completion/completions/continuum-party b/share/bash-completion/completions/continuum-party index e79eee2..057e8a5 100644 --- a/share/bash-completion/completions/continuum-party +++ b/share/bash-completion/completions/continuum-party @@ -139,8 +139,12 @@ _continuum_party() _continuum_party_words "$(_continuum_party_features)" return ;; - --node | --token | --unset | --nodes | --founder | --rule | --at | --add | --remove | \ - --set) + --add | --remove | --set) + # Keys, or files of them; nodes by ID. + [[ $command == keys ]] && _continuum_party_files + return + ;; + --node | --token | --unset | --nodes | --founder | --rule | --at) return ;; esac -- cgit v1.3.1