mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
Sublime text aliases for Darwin and Linux.
This commit is contained in:
parent
3fdaf26006
commit
3cbc829321
1 changed files with 10 additions and 2 deletions
|
|
@ -1,3 +1,11 @@
|
|||
# Sublime Text 2 Aliases
|
||||
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
|
||||
alias stt='st .'
|
||||
|
||||
unamestr=`uname`
|
||||
|
||||
if [[ "$unamestr" == 'Darwin' ]]; then
|
||||
alias st='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl'
|
||||
alias stt='st .'
|
||||
elif [[ "$unamestr" == 'Linux' ]]; then
|
||||
alias st='/usr/bin/sublime-text-2'
|
||||
alias stt='/usr/bin/sublime-text-2 .'
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue