summaryrefslogtreecommitdiff
path: root/scripts/deploy/completions/zsh.zsh
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-03-25 21:52:52 +0800
committer魏曹先生 <1992414357@qq.com>2026-03-25 21:52:52 +0800
commit4cb7c2e91d7dbde32de31e6ab48683d60212ec1d (patch)
tree8d70aac6dd33599b278684c05388a319a978b825 /scripts/deploy/completions/zsh.zsh
parentfece037f453006c83c45825e3649495180eb30c9 (diff)
Add shell flag to completion scripts and rename output filesdevdeploy/nightly
- Add -F flag to all completion scripts to specify shell type - Rename completion output files to generic names (comp.sh, comp.zsh, etc.) - Add help text for jvn_comp program - Combine specific and default completion results - Add completion handlers for sheetdump, sheetedit, and version commands - Remove word count limits from workspace_alias and workspace_sheet completions
Diffstat (limited to 'scripts/deploy/completions/zsh.zsh')
-rw-r--r--scripts/deploy/completions/zsh.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/deploy/completions/zsh.zsh b/scripts/deploy/completions/zsh.zsh
index dd1ff38..2b9e7f9 100644
--- a/scripts/deploy/completions/zsh.zsh
+++ b/scripts/deploy/completions/zsh.zsh
@@ -22,6 +22,7 @@ _jvn_completion() {
-c "$command_name"
-i "$word_index"
-a "${(@)words//-/^}"
+ -F "zsh"
)
suggestions=$(jvn_comp "${args[@]}" 2>/dev/null)