diff --git a/content/blog/2020-02-19-vscode-usage/index.md b/content/blog/2020-02-19-vscode-usage/index.md index 6406fb16..ceb10dda 100644 --- a/content/blog/2020-02-19-vscode-usage/index.md +++ b/content/blog/2020-02-19-vscode-usage/index.md @@ -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) diff --git a/content/blog/2020-02-19-vscode-usage/vscode_pic6.png b/content/blog/2020-02-19-vscode-usage/vscode_pic6.png deleted file mode 100644 index da60f74e..00000000 Binary files a/content/blog/2020-02-19-vscode-usage/vscode_pic6.png and /dev/null differ diff --git a/content/blog/2020-02-19-vscode-usage/vscode_pic6_1.jpg b/content/blog/2020-02-19-vscode-usage/vscode_pic6_1.jpg new file mode 100644 index 00000000..e51edda6 Binary files /dev/null and b/content/blog/2020-02-19-vscode-usage/vscode_pic6_1.jpg differ diff --git a/content/blog/2020-02-19-vscode-usage/vscode_pic6_2.jpg b/content/blog/2020-02-19-vscode-usage/vscode_pic6_2.jpg new file mode 100644 index 00000000..9d870957 Binary files /dev/null and b/content/blog/2020-02-19-vscode-usage/vscode_pic6_2.jpg differ