Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12141

Zellij: activate Python virtualenv on startup

$
0
0

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.


Viewing all articles
Browse latest Browse all 12141

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>