-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
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
Modifying a file when .bashrc and .zshrc are present #592
Comments
That sounds great in theory but I suspect it would be really complex in practice. I'll leave this open so anyone can contribute ideas - PRs welcome also :-) |
When installing |
I'd go for $SHELL, then. At any rate, checking $SHELL instead of just |
@ljharb, if you want just for the current shell, you can use |
Certainly if we went with the default shell you'd be able to do |
I just switched to zsh so still there's .bashrc and .zshrc present in my ~ . However, it's choosing .bashrc over the one I'm actually using, so I copied it by hand. I know it's a particular problem, but maybe the script could check the current shell and modify whatever file suits it?
The text was updated successfully, but these errors were encountered: