aboutsummaryrefslogtreecommitdiff
path: root/mingling_core/tmpls/comps
Commit message (Collapse)AuthorAgeFilesLines
* refactor!: replace build.rs with compile-time macro build steps魏曹先生14 hours4-394/+0
| | | | | | | | | | | | | BREAKING CHANGE: Replace the `build`/`builds` feature system with compile-time macro-driven generation. `gen_program!()` now automatically invokes `build_comp!()` and `build_pathf!()` when the `comp`/`pathf` features are enabled, eliminating the need for `build.rs` and `[build-dependencies]` blocks. This removes the `build` feature, the `mingling::build` module, and all related build-time API functions. Completion scripts are now written to `{target_directory}/mingling/` instead of `target/release/`. The `mingling_cli` uses `build_comp!("mling")` for its custom binary name.
* fix(comps): fix PowerShell completion word index and arg passing魏曹先生9 days1-8/+23
| | | | | Correct off-by-one word index computation and conditionally pass option values only when non-empty to avoid spurious parsing.
* fix(zsh): guard compdef call with function check魏曹先生9 days1-3/+6
| | | | | If compdef is not available, fall back to compctl directly without invoking an undefined command.
* chore: remove redundant comments in fish completion script魏曹先生13 days1-8/+0
|
* feat(comps): improve bash completion script word tracking魏曹先生2026-08-031-12/+31
| | | | | | | | Rework bash completion script to fix word-index tracking when the cursor is in the middle of a word, compute the current word from COMP_LINE truncated at COMP_POINT, and use space-separated option arguments. Also trim colon prefixes from completion items when COMP_WORDBREAKS includes colons.
* chore: escape colons in zsh completion descriptions魏曹先生2026-08-031-4/+4
| | | | | | | Fix zsh completion script to escape colons in completion items and descriptions, preventing parsing issues with `_describe`. Also iterate over the original completions array for simple completions to correctly extract completion items.
* Fix Windows UTF-16 argument handling in PowerShell completion魏曹先生2026-04-171-0/+9
|
* Improve PowerShell completion script parsing and output handlingWeicao-CatilGrass2026-04-121-56/+91
|
* Use same suggestion format for PowerShell as ZshWeicao-CatilGrass2026-04-121-16/+22
|
* Add Windows-specific flag detection and improve PowerShell completionWeicao-CatilGrass2026-04-121-29/+57
|
* Fix typo in PowerShell shell flag from "pwsl" to "pwsh"魏曹先生2026-04-121-0/+0
|
* Add shell completion script generation feature魏曹先生2026-04-114-0/+287