Browse Source

Sublime Text: Harmonize alias with the Sublime Text install instructions

The typical command is `subl`, not `st`. Leaving both for backward compatibility.

See http://www.sublimetext.com/docs/2/osx_command_line.html
Paul Melnikow 11 years ago
parent
commit
4da4d12d33
1 changed files with 2 additions and 1 deletions
  1. 2 1
      plugins/sublime/sublime.plugin.zsh

+ 2 - 1
plugins/sublime/sublime.plugin.zsh

@@ -21,7 +21,8 @@ elif  [[ $('uname') == 'Darwin' ]]; then
 
 	for _sublime_path in $_sublime_darwin_paths; do
 		if [[ -a $_sublime_path ]]; then
-			alias st="'$_sublime_path'"
+			alias subl="'$_sublime_path'"
+			alias st=subl
 			break
 		fi
 	done