[问题] : 在~/.bash_profile或者source ~/.bashrc中使用alias配置了alias ll = ls -a ,但是每次开启新的窗口都需要重新执行 : source ~/.bash_profile或者source ~/.bashrc
[原因]: 缺少~/.zshrc文件或者此文件中缺少配置
[解决办法]
- vim ~/.zshrc
- 添加 source ~/.bash_profile
- esc->:wq
- 重启生效!
[问题] : 在~/.bash_profile或者source ~/.bashrc中使用alias配置了alias ll = ls -a ,但是每次开启新的窗口都需要重新执行 : source ~/.bash_profile或者source ~/.bashrc
[原因]: 缺少~/.zshrc文件或者此文件中缺少配置
[解决办法]