commit f0e2ea61e7ad022de49875cd31e9437aa0131558 parent 323a7e6b0b38f9f4acbced416be33da9a084ff01 Author: Sean Enck <sean@ttypty.com> Date: Thu, 4 Sep 2025 10:59:09 -0400 change insert completions to prefer full list, not group list Diffstat:
| M | internal/app/completions/shell/bash.sh | | | 4 | ++-- |
| M | internal/app/completions/shell/zsh.sh | | | 4 | ++-- |
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/internal/app/completions/shell/bash.sh b/internal/app/completions/shell/bash.sh @@ -28,10 +28,10 @@ _{{ $.Executable }}() { "{{ $.HelpCommand }}") opts="{{ $.HelpAdvancedCommand }} {{ $.HelpConfigCommand }}" ;; - "{{ $.MoveCommand }}" | "{{ $.RemoveCommand }}" | "{{ $.InsertCommand }}") + "{{ $.MoveCommand }}" | "{{ $.RemoveCommand }}") opts="$opts $({{ $.DoGroups }})" ;; - "{{ $.UnsetCommand }}") + "{{ $.UnsetCommand }}" | "{{ $.InsertCommand }}") opts="$opts $({{ $.DoList }})" ;; "{{ $.TOTPCommand }}") diff --git a/internal/app/completions/shell/zsh.sh b/internal/app/completions/shell/zsh.sh @@ -40,12 +40,12 @@ _{{ $.Executable }}() { compadd "$@" "{{ $.HelpConfigCommand }}" fi ;; - "{{ $.RemoveCommand }}" | "{{ $.InsertCommand }}") + "{{ $.RemoveCommand }}") if [ "$len" -eq 3 ]; then compadd "$@" $({{ $.DoGroups }}) fi ;; - "{{ $.UnsetCommand }}") + "{{ $.UnsetCommand }}" | "{{ $.InsertCommand }}") if [ "$len" -eq 3 ]; then compadd "$@" $({{ $.DoList }}) fi