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

[Bug] Shell completion doesn't work with python -m module_name ... #1957

Open
bryant1410 opened this issue Jan 14, 2022 · 0 comments
Open

[Bug] Shell completion doesn't work with python -m module_name ... #1957

bryant1410 opened this issue Jan 14, 2022 · 0 comments
Assignees
Labels
Milestone

Comments

@bryant1410
Copy link
Contributor

🐛 Bug

Description

At least for Bash, Shell completion doesn't work if the program is called like python -m [module_name] .... I see shell completion works if the main command is not Python, or if it's like python [file_path] .... But we can also call it from a Python module (python -m syntax), which in turn runs a __main__.py file from the module.

Expected Behavior

Shell completion to work (e.g., when trying to auto-complete a config group name).

@bryant1410 bryant1410 added the bug Something isn't working label Jan 14, 2022
@jieru-hu jieru-hu added this to the Hydra 1.2.0 milestone Jan 14, 2022
@pixelb pixelb self-assigned this Mar 24, 2022
@pixelb pixelb modified the milestones: Hydra 1.2.0, Hydra 1.3.0 May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants