先更新一下终端和powershell终端官方:https://github.com/microsoft/terminalpowershell官方:GitHub - PowerShell/PowerShell上网困难的童鞋请用国内下载:下载终端下载powershell打开终端,按ctrl+,打开设置关闭,重新打开使设置生效。准备工作做好了,接下来开美化。安装Oh My Posh如果以前安
以下批处理脚本将分别导出当前用户的用户变量 PATH 和系统变量 PATH,并将它们分别保存到带有当前日期和时间前缀的文本文件中。@echo offsetlocal enabledelayedexpansion:: Change the working directory to the script's directorycd /d %~dp0:: Get the current d