aws / aws/amazon-q-developer-cli
Amazon Q CLI shell integration interferes with Home key + "#" comment workflow
- Lingua principale
- Rust
- Stelle
- 2k
- Fork
- 439
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### 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
### Operating system
Linux 6.14.6-200.fc41.x86_64 - Fedora Linux 41 (Workstation Edition)
### Expected behaviour
When pressing Home key to move cursor to beginning of line, then typing "#" to comment out a command, the command should be treated as a comment and added to history without execution.
### Actual behaviour
pressing home key to move cursor to beginning of line, then typing "#" to comment our the command results in
`q translate ''`
for example, this is how it becomes in terminal when i tried to comment out the vi command
```
q translate 'vi ~/.local/share/amazon-q/shell/bashrc.post.bash'vi ~/.local/share/amazon-q/shell/bashrc.post.bash
```
### Steps to reproduce
1. Install Amazon Q CLI
2. Type a command in terminal but don't press Enter
3. Press Home key to move cursor to beginning of line
4. Type "#" to comment out the command
5. Press Enter
6. Observe that instead of being treated as a comment, the command is interpreted as "q translate "
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riproduci questo nell’integrazione shell di Amazon Q CLI su Fedora Linux digitando un comando, premendo Home e quindi digitando #. Ispeziona amazon-q/shell/bashrc.post.bash e il comportamento dell’integrazione shell circostante; il lavoro è completato quando la riga rimane un commento, viene aggiunta alla cronologia e non invoca q translate.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- bash, linux, shell
- Ambito
- cli
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100