When using gvm (Go Version Manager) on macOS with the default shell zsh, a function called _encode is automatically loaded from:
~/.gvm/scripts/function/_bash_pseudo_hash
This function contains Bash-specific syntax, which fails in zsh and produces repeated errors:
_encode:25: command not found: -e
This happens every time any command is executed, even commands unrelated to gvm.
Example:
_encode:25: command not found: -e
_encode:25: command not found: -e
This significantly impacts terminal usability.
Go Version Manager v1.0.22