After more then 20 years on macOS started to use aliases in command line. First alias is alias sub="open -a Sublime\ Text".