In Zellij I want to activate Python virtualenv on startup with predifined layout.
Some suggested to use direnv shell extension.
But I don`t want to use shell extensions, since layout is intended to be used for collaborative work and I would like to avoid having extra dependencies.
Maybe there is some workaround to make Zellij source venv/bin/activate?
Tried to define layout like this:
layout {
pane command="bash" {
args "-c" "source venv/bin/activate"
}
}
But this one won`t activate venv.
New contributor
Свалов Семен is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.