-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
pearl init does not respect zsh environment variables #110
Comments
The purpose of Anyway a better experience will be achieved once we get a lazy init approach: #112 Closing in favor of that. |
i think you missed the point on this issue. the problem is that there is a .zshrc file but it's not in the location pearl thinks. |
I see what you meant now. Rather than copying I'd suggest to simply place a Although it seems a simple issue it may be actually a tricky problem to solve ( Reopening the issue just in case we can address it in the future. |
What is the problem?
pearl init writes its changes to the $HOME/.zshrc file regardless of environment variables. this casues a creation of a new one-lined .zshrc file in my home dir that will never be used
Suggested fix
if not empty use $ZDOTDIR to determine where is the user's .zshrc
eg: $ZDOTDIR/.zshrc
MIght be worth to check other envs as well for bash, vim ecc...
The text was updated successfully, but these errors were encountered: