Mac上Terminal使用ls没有颜色的结局方法

vim ~/.zshsrc

alias ls='ls -G'
alias ll='ls -lG'

备注:如果你用的是bash,那么~/.bashrc

Leave a Reply

Your email address will not be published. Required fields are marked *