after installed github.com/int3h/SublimeFixMacPath
you can create something like this in your settings - user
{
“additional_path_items”:
"/usr/bin",
"/bin",
"/sbin",
"/usr/local/bin",
"/opt/X11/bin",
"/Users/kendallsv/Android_SDK/platform-tools",
"~/.composer/vendor/bin/phpcs",
"~/.composer/vendor/bin/phpcbf",
"/Users/kendallsv/pear/bin"
]
}
where “kendallsv” of course is the my user name on my computer, those locations are the same locations I use on my .zshrc file, so whatever I can run on my regular terminal I will be able to run it in the terminal inseide Sublime, so for example now the code sniffer command phpcs is working as expected, probably someone else could have a better solution, but at least this worked for me