This is currently how it works though (as of the public release of Obsidian 1.12.4), as stated in the doc: Obsidian CLI > MacOS …
macOS
The CLI registration adds the Obsidian binary directory to your PATH via ~/.zprofile.
Some changes have been made to how the CLI is registered (in between other things) on Mac (at least) in the Catalyst/Insider/Beta release of Obsidian 1.12.5 though