I am using the z Shell (zsh) instead of the default bash, and something wrong happen so that all commands who used to work are no longer recognized:
zsh
<
My solution:
Change back to bash:
bash
source .bashrc
next:
echo $PATH
copy this:
/home/frank/.asdf/shims:/home/frank/....
back to the zsh:
source .zsh
open .zshrc:
.zshrc
and paste:
export PATH=/home/frank/.asdf/shims:/home/frank/....
restart terminal