Hi,
I'm using MacOS Sierra, and latest stable iTerm at the moment. I've read a lot of discussions but non of it worked with latest MacOS I think.
I had tried Homebrew duti, I run this command to hope that it add URL scheme for Term
duti -s com.googlecode.iterm2 term
I ran the
defaults command to verify the change.
defaults read com.apple.LaunchServices/com.apple.launchservices.secure
},
{
LSHandlerPreferredVersions = {
LSHandlerRoleAll = "-";
};
LSHandlerRoleAll = "com.googlecode.iterm2";
LSHandlerURLScheme = term;
},
But duti keep returning Apple Terminal is the default Terminal.
❯ duti -x term 281ms
Terminal
/Applications/Utilities/Terminal.app
com.apple.Terminal
The strange thing is if I use
Apple Terminal, ran the command
It launched
iTerm app. Should I report this issue to iterm2 repository.