![Add the "ll" Command to macOS Terminal 在 macOS 终端添加 "ll" 命令](https://www.xaiat.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
1.==== Edit the zshrc Config File ====
1.==== 编辑 zshrc 配置文件 ====
![Add the "ll" Command to macOS Terminal 在 macOS 终端添加 "ll" 命令](https://www.xaiat.com/wp-content/themes/justnews/themer/assets/images/lazy.png)
$ vim ~/.zshrc
==== Add Below at the End of the Script ====
==== 在脚本末尾添加以下内容 ====
alias ll=’ls -lG’
==== Added Above at the End of the Script ====
==== 上述内容已添加在脚本末尾 ====
2.==== Source the zshrc Config File ====
2.==== 应用 zshrc 配置文件的更改 ====
$ source ~/.zshrc
原创文章,作者:Xaiat,如若转载,请注明出处:https://www.xaiat.com/add-the-ll-command-to-macos-terminal-%e5%9c%a8-macos-%e7%bb%88%e7%ab%af%e6%b7%bb%e5%8a%a0-ll-%e5%91%bd%e4%bb%a4/