-
-
Notifications
You must be signed in to change notification settings - Fork 619
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
Source ~/.bash_profile on startup #2586
Comments
My current workflow is the following
|
Just realized you are saying you start bash with the command
|
What is the difference between how Zellij and tmux handle bash_profile and bashrc? If I remove my PS1 stuff from .bash_profile, the prompt returns to default colorless, while it's the opposite for Zellij. |
@kristian-clausal that is because tmux by default runs a login shell. Honestly, I'm not sure why and it seems somewhat strange. Anyway, |
If you are on a Mac, try having both |
On macOS, interactive terminals start login shells. The various workarounds offered in this thread (creating a As an example:
Starting If zellij allowed to pass a full command line for
Edit: Actually, the following command line is enough to start a bash login shell properly: /usr/bin/env -i HOME="$HOME" SHELL="$SHELL" PATH="$PATH" TERM="$TERM" USER="$USER" bash -il |
When I launch zellij, I would like for it to source
.bash_profile
. How do I do it?Is there anyways I could pass an argument within
~/.config/zellij/config.kdl
. I have the followingThe text was updated successfully, but these errors were encountered: