aws / aws/amazon-q-developer-cli

Autocomplete not working when using MacPorts

Ouverte
#684 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Rust
Étoiles
2k
Forks
439
Métriques de merge des PR
Aucune PR mergée en 30 j

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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le problème dans macOS Terminal avec zsh, en comparant l’autocomplétion pour brew, port et sudo port après avoir exécuté q doctor et q restart. C’est terminé lorsque les commandes MacPorts fournissent une autocomplétion comme brew ; le payload n’identifie aucun fichier source ni test à examiner.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
macos, zsh
Domaine
cli
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
32/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.