aws / aws/amazon-q-developer-cli
Disabling autocomplete does not work for specific commands
- 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.3.1 (24D70)
### Expected behaviour
Q CLI should adhere to the setting ```autocomplete.disableForCommands = ["cd"]``` and shouldn't allow cd to autocomplete on.
### Actual behaviour

The above image show the setting for autocomplete. But in terminal the autocomplete works overriding the setting.
### Steps to reproduce
_No response_
### Environment
```yaml
[q-details]
version = "1.8.0"
hash = "da59663e5955cc8bc93064fe89053977ff513311"
date = "2025-04-24T16:37:52.2211Z (2d ago)"
variant = "full"
[system-info]
os = "macOS 15.3.1 (24D70)"
chip = "Apple M1"
total-cores = 8
memory = "16.00 GB"
[environment]
cwd = "/Users/USER/Documents/CEAT/RLHF Post Analysis/PolyBench"
cli-path = "/Users/USER/Documents/CEAT/RLHF Post Analysis/PolyBench"
os = "Mac"
shell-path = "/opt/homebrew/Cellar/zsh/5.9/bin/zsh"
shell-version = "5.9"
terminal = "VSCode"
install-method = "unknown"
[env-vars]
PATH = "/Users/USER/.phoenix/venv/bin:/opt/homebrew/bin:/opt/homebrew/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:/Users/USER/.phoenix/venv/bin:/Users/USER/.cargo/bin:/Users/USER/.local/bin:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Users/USER/opt/homebrew/bin:/Users/USER/.toolbox/bin:/Users/USER/.vscode/extensions/ms-python.debugpy-2025.6.0-darwin-arm64/bundled/scripts/noConfigScripts:/Users/USER/Library/Application Support/JetBrains/Toolbox/scripts:/Users/USER/opt/homebrew/bin:/Users/USER/.toolbox/bin"
QTERM_SESSION_ID = "d46c4af9f40c4f21bf3b9503118398ca"
Q_SET_PARENT_CHECK = "1"
Q_TERM = "1.8.0"
SHELL = "/bin/zsh"
TERM = "xterm-256color"
ZDOTDIR = "/Users/USER"
__CFBundleIdentifier = "com.microsoft.VSCode"
```
Contributor guide
Assessment
This issue has not been assessed yet.