Trying to set up sublime text 2 to open files in unix terminal but getting an error -
i'm trying set sublime text 2 open file in cygwin terminal using command 'subl [file]'. run below command in terminal instructed in number of sites
ln -s "/applications/sublime text 2.app/contents/sharedsupport/bin/subl" /bin/subl
however, error:
ln: failed create symbolic link `/bin/subl': file exists
how work around that?
perhaps try using 'alias', instead?
add line .bashrc file similar to:
alias subl='/cygdrive/c/applications/sublime\ text\ 2.app/contents/sharedsupport/bin/subl'
then 'source .bashrc' command load new alias.
Comments
Post a Comment