I'm using iTerm2
and RubyMine
in Mavericks
.
In iTerm
I can open a file from error message by clicking file name with Command
key.
But somehow the .rb
file is opend SublimeText
.
I changed association of the file to RubyMine in Finder.
(Select a .rb
file` -> Open Menu -> Open File with: RubyMine -> All type of files are opend same Application)
But it seems to be valid only in Finder.
How can I configure so that I can open .rb
file by RubyMine from iTerm?
Go to iTerm2 > Preferences > Profiles > Advanced.
Under Semantic History
Change to Run command...
with the value open \1