-
Find the directory where Sublime is located. Generally yes
C:/Program\ Files/Sublime\ Text\ 2/sublime_text.exe
. To test this run in Git Bashdir "C:/Program\ Files/Sublime\ Text\ 2"
. or dir "C:/Program\ Files/Sublime\ Text\ 3" -
You should see
sublime_text.exe
it listed after the command. -
Go ahead and run the following command in Git Bash:
echo 'alias subl="C:/Program\ Files/Sublime\ Text\ 2/sublime_text.exe"' >> ~/.bashrc
-
Close and reopen Git Bash.
-
Type hit again
subl
in Git. -
Sublime opens automatically.
Start Sublime from the command line with Git Bash
Supongo que te gusta
Origin blog.csdn.net/Nebula_W/article/details/79866841
Recomendado
Clasificación