diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-03-25 21:52:52 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-03-25 21:52:52 +0800 |
| commit | 4cb7c2e91d7dbde32de31e6ab48683d60212ec1d (patch) | |
| tree | 8d70aac6dd33599b278684c05388a319a978b825 /src/cmds/comp/workspace_alias.rs | |
| parent | fece037f453006c83c45825e3649495180eb30c9 (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 'src/cmds/comp/workspace_alias.rs')
| -rw-r--r-- | src/cmds/comp/workspace_alias.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/cmds/comp/workspace_alias.rs b/src/cmds/comp/workspace_alias.rs index 5efabfa..a8ac495 100644 --- a/src/cmds/comp/workspace_alias.rs +++ b/src/cmds/comp/workspace_alias.rs @@ -3,14 +3,6 @@ use cli_utils::string_vec; use crate::systems::comp::context::CompletionContext; pub fn comp(ctx: CompletionContext) -> Option<Vec<String>> { - if ctx.all_words.contains(&"--insert".to_string()) { - if ctx.all_words.len() > 7 { - return None; - } - } else if ctx.all_words.len() > 5 { - return None; - } - if ctx.current_word.starts_with('-') { return Some(string_vec