]>
git.rmz.io Git - dotfiles.git/blob - zsh/plugins/sublime/sublime.plugin.zsh
1 # Sublime Text 2 Aliases
4 local _sublime_darwin_subl
=/Applications
/Sublime\ Text\
2.app
/Contents
/SharedSupport
/bin
/subl
6 if [[ $('uname') == 'Linux' ]]; then
7 if [ -f '/usr/bin/sublime_text' ]; then
8 alias st
='/usr/bin/sublime_text&'
10 alias st
='/usr/bin/sublime-text&'
12 elif [[ $('uname') == 'Darwin' ]]; then
13 # Check if Sublime is installed in user's home application directory
14 if [[ -a $HOME/${_sublime_darwin_subl} ]]; then
15 alias st
='$HOME/${_sublime_darwin_subl}'
17 alias st
='${_sublime_darwin_subl}'