常见问题:
19款mac使用的是zsh,source ~/.bash_profile不会生效,解决:修改.zshrc,添加source ~/.bash_profile
配置:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias l='ls -l -G'
alias ls='ls -G'
alias ll='ls -l -G'
alias lll='ls -l -G'
常见问题:
19款mac使用的是zsh,source ~/.bash_profile不会生效,解决:修改.zshrc,添加source ~/.bash_profile
配置:
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias l='ls -l -G'
alias ls='ls -G'
alias ll='ls -l -G'
alias lll='ls -l -G'