Search code examples
linuxshellunixzshpydoc

deactivate:unset:1: no such hash table element: pydoc


I am trying to setup my new laptop's development environment. After install zsh I am constantly getting error

deactivate:unset:1: no such hash table element: pydoc

Please help. I have following simple aliases in my zshrc:

alias c="clear"
alias gpl="git pull"
alias gps="git push"
alias gc="git commit"
alias gck="git checkout"
alias d="git diff"
alias s="git status".

Solution

  • You can see virtualenv pr on github.

    or you can change deactivate () function.

    change unset -f pydoc to unset -f pydoc >/dev/null 2>&1