aws / aws/amazon-q-developer-cli

bug: setup modifies shell profile even when told not to

Open
#2,577 1 comment 1 reaction 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

Fedora 42

### Expected behaviour

✔ Do you want q to modify your shell config (you will have to manually do this otherwise)? · No

The setup should not change .bashrc / .bash_profile if the above option is selected

### Actual behaviour

Note in the attached screenshot, I hit ctrl-C at the builder prompt, but it had already auto-installed into my shell profile.

Image

### Steps to reproduce

Run the zip setup installer, select "no" to update shell config

### Environment

```yaml

```

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.