aws / aws/amazon-q-developer-cli

Autocomplete not working when using MacPorts

オープン
#684 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
2k
フォーク
439
PR マージ指標
30日以内にマージされた PR はありません

説明

### Checks

- [x] I have searched [github.com/aws/amazon-q-developer-cli/issues](https://github.com/aws/amazon-q-developer-cli/issues?q=) and there are no duplicates of my issue
- [x] I have run `q doctor` in the affected terminal session
- [x] I have run `q restart` and replicated the issue again

### Operating system

macOS 15.4.0 (24E5206s)

### Expected behaviour

When running `sudo port` I would expect to see Autocompletion, just like I do when I type `brew`

### Actual behaviour

Running `brew` shows the autocomplete function, however running `port` or `sudo port` doesn't.

### Steps to reproduce

1. Open Terminal
2. Start typing `brew` and notice that autocomplete options appear
3. Delete and start typing `port` or `sudo port` and notice that autocomplete doesn't work properly

### Environment

```yaml
[q-details]
version = "1.6.3"
hash = "f46e721e4d1a329bbb2007c5be2b685582c6231f"
date = "2025-02-20T04:18:46.034092Z (6d ago)"
variant = "full"

[system-info]
os = "macOS 15.4.0 (24E5206s)"
chip = "Apple M1 Pro"
total-cores = 10
memory = "32.00 GB"

[environment]
cwd = "/Users/USER"
cli-path = "/Users/USER"
os = "Mac"
shell-path = "/bin/zsh"
shell-version = "5.9"
terminal = "macOS"
install-method = "unknown"

[env-vars]
PATH = "/Users/USER/.asdf/shims:/opt/local/share/asdf/bin:/Users/USER/bin:/Users/USER/.local/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin:/Users/USER/.local/bin:/Users/USER/.orbstack/bin"
QTERM_SESSION_ID = "a9e9b1b275e84047ab6aad47b03b08a8"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.6.3"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
__CFBundleIdentifier = "com.apple.Terminal"
```

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず macOS Terminal で zsh を使って問題を再現し、q doctor と q restart を実行した後の brew、port、sudo port の自動補完を比較します。MacPorts のコマンドで brew と同様の自動補完が提供されれば完了です。payload は調査対象のソースファイルやテストを特定していません。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, zsh
領域
cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
32/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。