Commit 6f859c58 authored by Varun Vijayaraghavan's avatar Varun Vijayaraghavan
Browse files

Add Sublime Text 2 alias for Linux.

Detects the platform using "uname", and sets the alias accordingly.
If you are using Linux, this assumes that you have created a
symbolic link to /usr/bin/sublime_text.
parent 3fdaf260
# Sublime Text 2 Aliases # Sublime Text 2 Aliases
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl' #unamestr = 'uname'
if [[ uname == 'Linux' ]]; then
alias st='open -a /usr/bin/sublime_text'
elif [[ uname == 'Darwin' ]]; then
alias st='open -a "/Applications/Sublime Text 2.app'
fi
alias stt='st .' alias stt='st .'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment