I have a very simple script to hide the icons from my desktop
#!/usr/bin/env bash defaults write com.apple.finder CreateDesktop false killall Finder
It is located in $USER/bin. Since the update, when I try to execute it using only the name of the script as a command, it doesn't work, the error being
zsh: command not found: icon. Same for the other script located in the same folder.
If I execute the script by double clicking, it works.