Windows添加在此处打开终端
Linux下,ubuntu等系统可以直接在文件夹右键->在此处打开终端,能够非常方便的进入终端下的此目录,但是windows没有自带这个功能,因此我们只好自己配置
1.脚本获取
该脚本github地址
https://github.com/lextm/windowsterminal-shell
2.安装
安装Windows Terminal
可以直接在Microsoft Store获取
安装powershell7
可以在该网址获取powershell7的安装包
https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows?view=powershell-7
运行脚本
可以看到之前github获取的文件有以下这些
然后以管理员模式运行刚才安装的powershell
Default layout
./install.ps1
Flat layout
./install.ps1 flat
Mini layout
./install.ps1 mini
3.卸载
运行
./uninstall.ps1
或者
./uninstall.old.ps1
即可卸载完成
Comments | 0 条评论