I’m trying to create a plugin for oh-my-zsh that alias sm and allow me to open Sublime Merge from the terminal. I’m using sublime.plugin.zsh as a base. I believe I’ve got most things right. I can use my alias sm and call Sublime Merge in a directory and open the existing git. However, either I’m missing something or Sublime Merge doesn’t behave quite similarly to the Sublime Text. The sm alias opens the app but it keeps the terminal busy. I can add an & at the end of the subm function and it’ll do the job but I wonder why is this, and if there is any better way?
Cool! This will solve this issue. Thanks! 