The executable is zeditor, not zed.
And it is located with:
ls /usr/bin/ | grep zed
To change that, create an alias:
alias zed="zeditor"
Add that line to your ~/.bashrc or ~/.zshrc depending on what you use, then reload the file:
source ~/.bashrc # or source ~/.zshrc