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] Update Kompose completion #1966

Closed
utkarsh-singh1 opened this issue Dec 9, 2024 · 3 comments · May be fixed by #1967
Closed

[BUG] Update Kompose completion #1966

utkarsh-singh1 opened this issue Dec 9, 2024 · 3 comments · May be fixed by #1967
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@utkarsh-singh1
Copy link
Contributor

Expected Behavior

kompose completion generate a script that introduces a completion for the shell but this feature does not work for new instance of shell.

Actual Behavior

Added a suggestion to add these commands to shell configuration file to enable completion permanently.

Steps To Reproduce

No response

Kompose Version

1.34

Docker-Compose file

No response

Anything else?

No response

@utkarsh-singh1 utkarsh-singh1 added the kind/bug Categorizes issue or PR as related to a bug. label Dec 9, 2024
@utkarsh-singh1
Copy link
Contributor Author

/assign

@utkarsh-singh1
Copy link
Contributor Author

Also, commands can be improved to make them directly add to the config file.

Ex.

echo "source <(kompose completion bash)" >> ~/.bashrc
  
echo "source <(kompose completion zsh)" >>  ~/.zshrc
 
echo "kompose completion fish | source" >> ~/.config/fish/config.fish

@cdrage
Copy link
Member

cdrage commented Dec 12, 2024

Hi, I tested all three and it still works. Your PR only adds comments.

@cdrage cdrage closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
2 participants