aws / aws/amazon-q-developer-cli

Autocomplete not working when using MacPorts

Open
#684 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2k
Forks
439
PR merge metrics
No merged PRs in 30d

Description

### 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"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.