Skip to content
Advertisement

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".

Advertisement

Answer

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

User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement