-
Notifications
You must be signed in to change notification settings - Fork 47
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
Ensure .bashrc is run? #172
Comments
Ugh, no: login shells and non-login shells run a disjoint set of files, unless .bash_profile calls .bashrc specifically. It seems beyond our scope to ensure that. :/ |
we could add to both. |
I considered briefly. Might be ok, if we have enough traps. Seems wrong to run twice for most configurations. |
What a very weird and unlikable design choice. |
all the tests I've tried suggest running twice is safe. But it is an extra ~100ms per |
I mean, you can do: if [[ $TEA_HAS_RUN -ne 1 ]]; then
tea --magic | do
export TEA_HAS_RUN=1
fi |
It seems like macOS bash doesn't read .bashrc out of .bash_profile by default: pkgxdev/pkgx#648
We should consider populating .bash_profile instead.
The text was updated successfully, but these errors were encountered: