Start Sublime from the command line with Git Bash

  1. 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"

  2. You should see sublime_text.exeit listed after the command.

  3. Go ahead and run the following command in Git Bash: echo 'alias subl="C:/Program\ Files/Sublime\ Text\ 2/sublime_text.exe"' >> ~/.bashrc 

  4. Close and reopen Git Bash. 

  5. Type hit again sublin Git.

  6. Sublime opens automatically.

Supongo que te gusta

Origin blog.csdn.net/Nebula_W/article/details/79866841
Recomendado
Clasificación