Skip to content

Development#19

Merged
Shurgentum merged 5 commits intomainfrom
dev
Feb 22, 2026
Merged

Development#19
Shurgentum merged 5 commits intomainfrom
dev

Conversation

@Shurgentum
Copy link
Owner

Summary

  • Use ansible facts for HOME and normalize/reorder dock items
  • Update Zed settings and UI defaults (tab icons, close-position left, git status in tabs, minimap current-line highlight, tabs/close behavior, gutter/minimap tweaks)
  • Migrate Zed AI settings from Copilot/OpenRouter/Anthropic to consolidated providers and add/edit predictions:
    • Centralize model config to OpenRouter-backed Anthropic models (Anthropic 4.6 variants)
    • Add edit_predictions block, predictions & UI tweaks, favorite_models list, and provider-specific api_url handling
  • Add YAML settings and ansible plugin; enable subpixel text rendering and adjust typing/formatting defaults
  • Silence noisy kubectl stderr in zsh/starship.toml

Changes

  • fix: use ansible_facts.env.HOME and reorder/normalize dock_remove defaults
  • chore: zed settings (prediction provider adjustments, subpixel rendering, YAML settings, ansible plugin)
  • feat: Zed AI provider migration, add predictions, update default/in-line/commit/thread models to Anthropic variants, favorite_models, and various editor UI ergonomics
  • chore(zsh/zed): redirect kubectl stderr to /dev/null; reorganize zed provider settings
  • feat(zed): switch edit_predictions provider to 'sweep' to enable privacy_mode while keeping Codestral settings for future use

Use ansible_facts.env.HOME instead of ansible_env.HOME

Reorder and normalize dock_remove defaults
- changed edit prediction provider to follow new settngs standard
- added subpixel text rendering mode as a default
- added YAML settings (mainly for disabling typing formatting)
- added ansible plugin
Migrate Zed AI settings from copilot_chat to OpenRouter-backed Anthropic
models and add Codestral edit predictions. Update default, inline
assistant, commit-message and thread-summary models to Anthropic 4.6
variants (enable thinking for Opus/Sonnet where appropriate) and add a
favorite_models list for quick selection. Introduce an edit_predictions
block using Codestral (codestral-latest, eager mode).

Also adjust editor UI defaults: enable tab file icons, close-position on
left, show git status in tabs, and activate left neighbour on close.
Enable minimap current-line highlight for all and set tabs/close behavior.
Reorder and re-enable extend_comment_on_newline and tweak gutter/minimap
settings to improve readability and workflow.

These changes centralize model configuration to OpenRouter, enable code
completion predictions, and make small UI ergonomics improvements.
- zsh/starship.toml: prevent noisy kubectl stderr by redirecting stderr
  to /dev/null for current-context and namespace commands. This avoids
  showing error messages in the prompt when kubectl is not configured or
  when contexts/namespaces are unavailable.

- zed/settings.json: change AI edit_predictions provider from 'codestral'
  to 'zed', set mode to 'eager', add provider-specific api_url for the
  previous codestral configuration, and keep the model field. This
  reorganizes provider settings and enables eager predictions with the
  intended 'zed' provider.
This ensures privacy_mode is set, while preserving codestral settings for future use.
Copilot AI review requested due to automatic review settings February 22, 2026 15:01
@Shurgentum Shurgentum merged commit 42bdf6c into main Feb 22, 2026
3 checks passed
@Shurgentum Shurgentum deleted the dev branch February 22, 2026 15:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the macOS development environment setup (Ansible + dotfiles) to refine Dock defaults, reduce noisy shell prompt output, and modernize Zed editor UI/AI configuration.

Changes:

  • Switch macOS defaults “done” marker path to use ansible_facts.env.HOME.
  • Silence kubectl stderr noise in Starship custom prompt modules.
  • Refresh Zed settings: AI provider/model configuration, edit predictions, UI/ergonomic defaults, and enable YAML/Ansible-related settings.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
tasks/defaults.yml Uses ansible_facts.env.HOME for .osx.sh.done marker file path.
dotfiles/zsh/starship.toml Adjusts Starship kubectl prompt commands to reduce stderr noise.
dotfiles/zed/settings.json Updates Zed AI provider/model settings and UI/editor defaults; adds YAML/Ansible configuration.
defaults.yml Reorders/normalizes Dock removal defaults.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

[custom.kubens]
style = 'bold red'
command = 'kubectl config view --minify -o "jsonpath={..namespace}"'
command = 'kubectl config view --minify -o "jsonpath={..namespace} 2>/dev/null"'
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The stderr redirection is currently inside the jsonpath string (after jsonpath={..namespace}), so it will be passed to kubectl as part of the -o argument and won’t actually silence stderr. Move 2>/dev/null outside the quoted -o "jsonpath=..." portion so the shell performs the redirection.

Suggested change
command = 'kubectl config view --minify -o "jsonpath={..namespace} 2>/dev/null"'
command = 'kubectl config view --minify -o "jsonpath={..namespace}" 2>/dev/null'

Copilot uses AI. Check for mistakes.
[custom.kubectx]
style = 'bold blue'
command = "echo \ue81d ${$(kubectl config current-context)##*/}"
command = "echo \ue81d ${$(kubectl config current-context 2>/dev/null)##*/} "
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This command adds a trailing space to the module output (...##*/} ). That space will be included in $output and can create inconsistent spacing around the (:${custom.kubens}) segment in the prompt. Consider removing the trailing space (or using printf if you need precise formatting).

Suggested change
command = "echo \ue81d ${$(kubectl config current-context 2>/dev/null)##*/} "
command = "echo \ue81d ${$(kubectl config current-context 2>/dev/null)##*/}"

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants