浏览代码

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 年之前
父节点
当前提交
4da4d12d33
共有 1 个文件被更改,包括 2 次插入1 次删除
  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