?? How to make your tips.cmd (zsh script) Dock?ready
Open Automator ? create a new Application.

Add Run Shell Script.

Paste the contents of your tips.cmd (zsh commands).

Save as Tips.app.

Drag Tips.app into the Dock.

Now clicking the Dock icon runs your zsh script like an app.

? So yes, the file needs to be packaged as a .app (via Automator or similar). A raw .cmd or .zsh file won’t execute from the Dock by itself.