Using sublime with oh my zsh
I had a problem with setting up sublime with zsh. I wanted command that will start the window from terminal.
In your ~/.zshrc_personal file (create if doesn't exists) add
alias subl='/Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl --new-window $@'
Written by lukas
Related protips
1 Response
I know, it's an old post, but maybe useful for someone that will watch.
You can add the sublime plugin in the .zshrc file like that (only if using oh my zsh):
plugins=(sublime)
Then from the shell u can just type:
st // just open sublime text
st filename // opens the file in sublime text
stt //opens the pwd in sublime text
Hope that was useful!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Zsh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#