Skip to content

✨ feat: Add completion commands#11

Merged
irichu merged 3 commits intomainfrom
develop
Feb 14, 2026
Merged

✨ feat: Add completion commands#11
irichu merged 3 commits intomainfrom
develop

Conversation

@irichu
Copy link
Owner

@irichu irichu commented Feb 14, 2026

πŸš€ Description

  • ✨ feat: Add completion commands
  • βœ… Tested on Linux

@irichu irichu self-assigned this Feb 14, 2026
@irichu irichu added the enhancement New feature or request label Feb 14, 2026
@irichu irichu requested a review from Copilot February 14, 2026 11:05
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

This PR adds two new commands to the dotfiles management tool for handling zsh shell completions. The completion command generates completions for the dots command itself, while the completions command generates completions for various installed development tools (bat, fnm, gum, jj, mise, rustup/cargo, uv, and zellij).

Changes:

  • Added completion command to output the dots command completion definition
  • Added completions command to automatically generate zsh completions for multiple installed tools
  • Created new script to generate completions for third-party tools

Reviewed changes

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

File Description
config/zsh/completions/_dots Added completion entries for the new completion and completions commands
assets/scripts/main.sh Implemented generate_completion() and generate_package_completions() functions and their command handlers
assets/scripts/completions/generate-zsh-completions.sh New script to generate zsh completions for bat, fnm, gum, jj, mise, rustup, cargo, uv, and zellij
assets/scripts/completions/compdef_dots.zsh Added completion entries for the new completion and completions commands (mirrors _dots file)

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI commented Feb 14, 2026

@irichu I've opened a new pull request, #12, to work on those changes. Once the pull request is ready, I'll request review from you.

@irichu irichu merged commit d14cf06 into main Feb 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants