Skip to content

Fix #8: subcommand install の補完強化 - #9

Open
m0cchi wants to merge 1 commit into
masterfrom
issue-m0cchi-emacsenv-8-install-completion
Open

m0cchi wants to merge 1 commit into
masterfrom
issue-m0cchi-emacsenv-8-install-completion

Conversation

@m0cchi

@m0cchi m0cchi commented Mar 10, 2026

Copy link
Copy Markdown
Owner

Summary

  • emacsenv install サブコマンドのタブ補完で、利用可能なバージョンタグ (emacs-*) を表示するように強化
  • git tag -l 'emacs-*' --sort=-version:refname を使用し、semantic version の降順でタグを取得
  • bash / zsh 両方の補完スクリプトに対応

Test plan

  • bash で emacsenv install <TAB> を実行し、emacs-* タグが補完候補に表示されることを確認
  • zsh で emacsenv install <TAB> を実行し、emacs-* タグが補完候補に表示されることを確認
  • $EMACSENV_HOME/repository が存在しない場合、補完がエラーにならないことを確認

Closes #8

🤖 Generated with Claude Code

git tag -l 'emacs-*' --sort=-version:refname を使って
install サブコマンドにバージョンタグの補完を追加。
bash/zsh 両方の補完スクリプトに対応。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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.

subcommand install の補完強化

1 participant