1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

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
This commit is contained in:
Paul Melnikow 2013-09-05 10:12:12 -04:00
parent 434f3bc05c
commit 4da4d12d33

View file

@ -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