First check you have sublime
as a oh-my-zsh plugin:
$ cat ~/.zshrc | grep plugins=
plugins=(gitfast rbenv last-working-dir common-aliases sublime zsh-syntax-highlighting history-substring-search)
# 👆 that's mine
Restart your terminal.
You can now do:
$ cd ~/code/lewagon/<project>
$ subl --add .
# or just this (from any directory):
$ subl --add ~/code/lewagon/<project>