fix(env): address all PR review feedback

- Add settings profiles to zsh env completion (was proxy-only)
- Document intentional ANTHROPIC_MODEL omission in transformToOpenAI
- Use getCcsDir() in error hint instead of hardcoded ~/.ccs/
- Export parseFlag and add 5 unit tests for flag parsing
- Add fish and PowerShell single-quote escaping tests
This commit is contained in:
Tam Nhu Tran
2026-02-11 06:46:12 +07:00
parent 041e1c6cc2
commit 44b3152d34
3 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ _ccs() {
'--format[Output format]:format:(openai anthropic raw)' \
'--shell[Shell syntax]:shell:(bash fish powershell)' \
'(- *)'{-h,--help}'[Show help]' \
'1:profile:($proxy_profiles)'
'1:profile:($proxy_profiles ${(k)settings_profiles_described})'
;;
gemini|codex|agy|qwen)
_arguments \