Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aws_completer outputs "^M" after every suggestion in MINGW(64) on Windows Terminal #9135

Open
1 task
bhowell-euna opened this issue Dec 13, 2024 · 0 comments
Open
1 task
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.

Comments

@bhowell-euna
Copy link

Describe the bug

Attempting to use Windows version aws_completer for bash completion in MINGW64 results in the output containing ^M characters after every suggestion.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

Output should not contain ^M after every suggestion.

Current Behavior

Output contains ^M after every suggestion.
image

Reproduction Steps

  1. Have the Windows version of AWS CLI installed
  2. Open a Windows Terminal of Git Bash (MINGW64)
  3. Run `complete -C "/c/Program\ Files/Amazon/AWSCLIV2/aws_completer" aws
  4. Type aws e[TAB]

Possible Solution

No response

Additional Information/Context

I'm currently using the Git Bash implementation of MINGW64 in Windows Terminal which is my default command line processor. I have not tried using any other alternative terminal so I don't know if this behavior is global or limited to just Windows Terminal.

CLI version used

aws-cli/2.22.14 Python/3.12.6 Windows/11 exe/AMD64

Environment details (OS name and version, etc.)

Windows 11 Enterprise 23H2 Build 22631.4037 FP 1000.22700.1027.0

@bhowell-euna bhowell-euna added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

No branches or pull requests

1 participant