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 -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -