Skip to content

Commit

Permalink
Update blog of vscode (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
CovMat committed May 16, 2024
1 parent b887dc7 commit e032d6f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions content/blog/2020-02-19-vscode-usage/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ GMT脚本建议在独立工作空间(文件夹)中执行,有以下两种

若本机安装了Bash终端,vscode也可识别并自动选择bash终端来执行bash脚本。也可通过手工切换,或多个终端切换执行:

{{< figure src="vscode_pic6.png" width="700px">}}
{{< figure src="vscode_pic6_1.png" width="700px">}}

{{< figure src="vscode_pic6_2.png" width="700px">}}

请注意,如果你运行的是 bat 脚本,请点击上图终端窗口的加号旁边的向下箭头,然后点击“选择默认配置文件”。在出现的选项中选择“Command Prompt”。绝对不要使用 PowerShell。

> 请注意,如果你运行的是 bat 脚本,请一定要在上图的“切换终端”中选择 cmd,绝对不要使用 PowerShell。
>
> 如果你运行的是 bash 脚本,则必须在 `gmt begin` 之前添加一行 `export GMT_SESSION_NAME=$$` ,否则脚本运行将出现错误。
> 详情请参阅[GMT中文手册的begin模块说明页面](https://docs.gmt-china.org/latest/module/begin/#unix-shell)
Expand Down
Binary file removed content/blog/2020-02-19-vscode-usage/vscode_pic6.png
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e032d6f

Please sign in to comment.