Zsh completion script for Unity Hub on macOS

A previous post described the Unity Hub CLI. However, the CLI use too difficult without completion.


I made zsh completion that is useful with Unity Hub CLI.

It's be in working progress, but developer could smoothly install Unity Editor on zsh.


How to setup

_unityhub require alias unityhub. Please shoud set the below.

alias unityhub="/Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless"