Hi, I am using Zsh and am trying to update Zsh through a shellscript.
This is how it looks :
# Update OS sudo apt update -y apt list --upgradable sudo apt upgrade -y sudo apt autoremove -y sudo apt autoclean # Update Zsh omz update
However, this does not update Zsh as it throws an error saying :
./update.sh: 7: omz: not found.
which omz showed :
Zsh version : zsh 5.8 (x86_64-ubuntu-linux-gnu)
OS : Ubuntu 20.04