aws / aws/amazon-q-developer-cli

Proper support for autocd

Offen
#882 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
2k
Forks
439
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hello. Not really a bug perhaps, although the behavior when `shopt -s autocd` is enabled (in Bash) is confusing and not helpful IMO. When `First token completion` is enabled in CLI Completions, and I start typing a name of a subdirectory in the current directory, I don’t get the name’s completion and instead I am getting “all sorts of weird commands” that are similar to the subdirectory’s name.

It would be good if Amazon Q at this point was “aware of the existence of `autocd`” and supported it (or at least didn’t interfere). Thank you!

P.S. `cd` completion does not really work currently as well. I reported it quite some time ago and the things are still the same. 🤷‍♂

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Reproduziere die Interaktion, indem du Bashs `autocd` und CLI Completions' `First token completion` aktivierst und anschließend den Namen eines Unterverzeichnisses eingibst. Verfolge das für das Vorschlagen nicht zusammenhängender Befehle verantwortliche Vervollständigungsverhalten; abgeschlossen ist die Aufgabe, wenn Verzeichnisnamen korrekt vervollständigt werden, ohne `autocd` zu beeinträchtigen, und das bestehende Vervollständigungsverhalten von `cd` erhalten bleibt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
bash
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.