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

Tab completion not working in Ubuntu 24.04 LTS (Noble) #30461

Open
doherty100 opened this issue Dec 3, 2024 · 3 comments
Open

Tab completion not working in Ubuntu 24.04 LTS (Noble) #30461

doherty100 opened this issue Dec 3, 2024 · 3 comments
Assignees
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone

Comments

@doherty100
Copy link

doherty100 commented Dec 3, 2024

Describe the bug

Tab completion is not working on Noble. It used to be enabled by default on Jammy.

Related command

az group delete -g <TAB>

Errors

N/A

Issue script & Debug output

N/A

Expected behavior

Tab completion should work by default.

Environment Summary

{
  "azure-cli": "2.67.0",
  "azure-cli-core": "2.67.0",
  "azure-cli-telemetry": "1.1.0",
  "extensions": {}
}

Additional context

/etc/bash_completion.d/azure-cli file exists.

I added the following code to .bashrc then relaoded my shell configuration and it still does not work:

if [ -f /etc/bash_completion.d/azure-cli ]; then
    . /etc/bash_completion.d/azure-cli
fi
@doherty100 doherty100 added the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 3, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added Auto-Assign Auto assign by bot ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group labels Dec 3, 2024
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 3, 2024

Thank you for opening this issue, we will look into it.

@microsoft-github-policy-service microsoft-github-policy-service bot added Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Dec 3, 2024
@yonzhan yonzhan removed the bug This issue requires a change to an existing behavior in the product in order to be resolved. label Dec 4, 2024
@yonzhan yonzhan added this to the Backlog milestone Dec 4, 2024
@bebound
Copy link
Contributor

bebound commented Dec 4, 2024

I can't figure out why it doesn't work. Something might be wrong in your shell config.

Make sure your bashrc is loaded and see if az account <tab> works.

@doherty100
Copy link
Author

az account <tab> does nothing. This is a WSL install of Ubumtu 24.04 LTS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARM az resource/group/lock/tag/deployment/policy/managementapp/account management-group Auto-Assign Auto assign by bot Azure CLI Team The command of the issue is owned by Azure CLI team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants