opening sublime text from windows git bash

后端 未结 11 2062
有刺的猬
有刺的猬 2021-01-30 09:15

How do I open Sublime text from Git Bash in Windows? I tried adding the alias at the ~/.bashrc file but nothing worked. I was looking for something very easy but I could not fin

11条回答
  •  太阳男子
    2021-01-30 10:10

    Create .bash_profile file under C:\Users\YourUserName\ and add the following line in the file:

    alias 'subl="/c/Program Files/Sublime Text 3/subl.exe"'
    

提交回复
热议问题