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
Post a Comment