Window11定义ll笔名

管理员 Windows PowerShell,执行如下命令

Set-ExecutionPolicy RemoteSigned -Scope CurrentUser

新增文件

C:\Users\ycx\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

添加内容

Set-Alias ll ls

 

posted @ 2026-05-09 11:54  谷粒-笔记  阅读(10)  评论(0)    收藏  举报