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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -