mac系统ll命令无法使用
# 提示:
$ ll
-bash: ll: command not found
解决方法:
vim .bash_profile
# 增加以下内容
alias ll='ls -alF'
alias la='ls -A'
# 生效文本
source .bash_profile
- Iterm2 环境变量不生效:
1、打开zsh环境变量文件
vim ~/.zshrc
2、在底部新增加环境变量
source /etc/profile
mac系统ll命令无法使用
# 提示:
$ ll
-bash: ll: command not found
解决方法:
vim .bash_profile
# 增加以下内容
alias ll='ls -alF'
alias la='ls -A'
# 生效文本
source .bash_profile
1、打开zsh环境变量文件
vim ~/.zshrc
2、在底部新增加环境变量
source /etc/profile