Sublime Forum

Sublime Merge Plugin for oh-my-zsh

#1

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?

sublime-merge.plugin.zsh

Cool! This will solve this issue. Thanks! :slight_smile:

0 Likes

OS X Command Line for Sublime Merge
#2

I’ve created the PR.

0 Likes