zsh - Keep active virtualenv on new tab -


i use gnome-terminal zsh. had issue keeping current working directory when opening new tab (ctrl+shift+t) since used reset $home everytime. solved adding:

. /etc/profile.d/vte.sh 

to .zshrc file.

now, since use virtualenv (and virtualenvwrapper) avoid having workon virtualenv_name each time open new tab.

the obvious solution put command in .zshrc, don't want always enter virtualenv. want when open new tab , inside virtualenv.

now, since virtualenv modification path, ps1, , stuff that, guess can in way. ideas?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -