Mac 添加ll命令

修改.zshrc

# 进入
vim ~/.zshrc

# 增加
# ls
alias ll='ls -alf'

# 生效
source ~/.zshrc

生效了

% ll
total 0
drwxr-xr-x   6 root  wheel   192  3  3 18:24 .
drwxr-xr-x  20 root  wheel   640  1  1  2020 ..
drwxr-xr-x  81 root  wheel  2592  6  4 16:17 etc
drwxr-xr-x  32 root  wheel  1024  6  2 16:40 var
drwxrwxrwt   8 root  wheel   256  6  5 11:21 tmp
原文地址:https://www.cnblogs.com/jiqing9006/p/14852578.html