PowerShell profile 配置文件
主要是对微软文档中,关于$PROFILE
的内容进行简单整理。
通过搜索以下的关键词,可查到相应的文章。
powershell 自定义 shell 环境
about_Automatic_Variables
powershell about_Profiles
$PROFILE
变量,默认返回的是当前用户,当前主机的配置文件的路径。
1 |
|
1 |
|
首次安装 PowerShell 时,配置文件是不存在的,可以使用以下的命令来创建。
1 |
|
1 |
|
PowerShell profile 配置文件
https://sunboyallen.github.io/powershell-profile/