首页 > 系统相关 >wt命令,在当前目录启动Windows Terminal

wt命令,在当前目录启动Windows Terminal

时间:2023-02-11 20:55:32浏览次数:52  
标签:当前目录 Windows Terminal 命令 wt 打开

使用wt命令在当前目录打开Windows Terminal

运行环境: windows10
在任意目录下打开Windows Terminal的默认目录为C:\Users\username>, 若想要使用wt命令在当前目录打开Windows Terminal,需进行如下操作:

  1. 打开 Windows Terminal设置 - 打开JSON文件

  2. 编辑JSON文件: 在"profiles"的"default"下添加"startingDirectory": "."

......
    "profiles": 
    {
        "defaults": 
            "startingDirectory": "."
        },
......

标签:当前目录,Windows,Terminal,命令,wt,打开
From: https://www.cnblogs.com/loga/p/17112540.html

相关文章