How does Sublime open file with cmd+click on its path in Terminal?

Solution 1:

I've checked my suggestion and it worked: if you try to open a file in Finder, this file will be opened with default Application, assigned to its extension. So, if you change default App for this file, you'll get it while opening file from Terminal by click.