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

feat: sourcing .zshrc #39

Closed
felangel opened this issue Dec 9, 2022 · 2 comments · Fixed by #41
Closed

feat: sourcing .zshrc #39

felangel opened this issue Dec 9, 2022 · 2 comments · Fixed by #41
Assignees
Labels
feature A new feature or request

Comments

@felangel
Copy link
Contributor

felangel commented Dec 9, 2022

Description

As a developer who just installed a CLI using cli_completion it's not immediately obvious that I have to source ~/.zshrc in order for completion to work. It would be nice if this was done automatically for me or if there was some messaging instructing me to do so.

@felangel felangel added the feature A new feature or request label Dec 9, 2022
@renancaraujo renancaraujo self-assigned this Dec 12, 2022
@renancaraujo
Copy link
Contributor

Tested using Process.run to execute the source and it seems like it does not affect the current shell session.

Since you cannot programmatically update a shell session, the user is required to do this manually.

@renancaraujo
Copy link
Contributor

Added a pr with an advice #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature or request
Projects
None yet
2 participants