【问题标题】:How to open Sublime text using Git Bash Command prompt如何使用 Git Bash 命令提示符打开 Sublime 文本
【发布时间】:2020-08-18 15:18:06
【问题描述】:
$ touch hello.html  
$ subl .
bash: subl: command not found

我使用 git bash 命令提示符创建了 HTML 文件,我想使用 git bash 命令提示符在 Sublime Text 3 上打开它。但上面的代码不起作用。

【问题讨论】:

    标签: html github command-prompt git-bash git-repo


    【解决方案1】:

    首先我必须创建新的环境变量路径。现在代码可以运行了。

    $ cd test1/ 
    $ touch hello.html
    $ subl hello.html
    

    $ subl

    关注 youtube 视频可能会有所帮助。 How to Open Sublime Text 3 from Command Prompt in Windows

    【讨论】:

      猜你喜欢
      • 2014-05-04
      • 1970-01-01
      • 2015-11-23
      • 2013-09-07
      • 2015-06-18
      • 2011-07-29
      • 2015-08-09
      • 2011-03-27
      • 2020-07-06
      相关资源
      最近更新 更多