mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
- 'st' alias can take any arguments
- closing terminal session doesn't affect running Sublime Text
instances
10 lines
256 B
Bash
Executable file
10 lines
256 B
Bash
Executable file
# Sublime Text 2 Aliases
|
|
|
|
if [[ $('uname') == 'Linux' ]]; then
|
|
runst() { nohup /usr/bin/sublime-text-2 $@ > /dev/null & }
|
|
alias st=runst
|
|
elif [[ $('uname') == 'Darwin' ]]; then
|
|
alias st='open -a /Applications/Sublime\ Text\ 2.app'
|
|
fi
|
|
alias stt='st .'
|
|
|