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 requires system-wide installation #12

Closed
KAUTH opened this issue Dec 28, 2023 · 0 comments · Fixed by #13
Closed

Bug: shell completion requires system-wide installation #12

KAUTH opened this issue Dec 28, 2023 · 0 comments · Fixed by #13
Assignees
Labels
bug Something isn't working

Comments

@KAUTH
Copy link
Owner

KAUTH commented Dec 28, 2023

Originally reported in repository-service-tuf/repository-service-tuf-cli#469.

What happened?

When running a CLI program, installed in a virtual environment, when starting a shell session, users get the following error:
pyenv: <cli-program>: command not found

Solution

auto-click-auto will add a check in the shell configuration for whether the program is executable. This will keep shell sessions free from "command not found" errors when the autocompleted program is not installed system-wide.

@KAUTH KAUTH added the bug Something isn't working label Dec 28, 2023
@KAUTH KAUTH self-assigned this Dec 28, 2023
KAUTH added a commit that referenced this issue Dec 28, 2023
- We check the config files before-after, especially
for the hotfix for #12.
- Make some styling improvements
@KAUTH KAUTH closed this as completed in #13 Dec 28, 2023
KAUTH added a commit that referenced this issue Dec 28, 2023
- We check the config files before-after, especially
for the hotfix for #12.
- Make some styling improvements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant