Mac解决 zsh: command not found: ll

Mac解决 zsh: command not found: ll

文章目录

  • [Mac解决 zsh: command not found: ll](#Mac解决 zsh: command not found: ll)

解决方法

复制代码
1.打开bash_profile 配置文件

vim ~/.bash_profile

2.在文件中添加配置:alias ll='ls -alF'

键盘按下 I 键进入编辑模式

3. alias ll='ls -alF'

添加完配置后,按ESC键退出编辑模式

输入 :wq 保存并退出

4.刷新配置文件: source ~/.bash_profile

5.vim ~/.zshrc

6.加入:source ~/.bash_profile

7.wq保存后:source  ~/.zshrc
相关推荐
一招定胜负2 小时前
智慧课堂项目面试复习资料
ide·macos·xcode
小江的记录本2 小时前
【Linux】《Linux常用命令汇总表》
linux·运维·服务器·前端·windows·后端·macos
绝世唐门三哥8 小时前
MacOS下内网穿透工具cpolar使用教程(Mac 版)
macos·内网穿透
jian110588 小时前
Mac git配置账号和邮箱,可以修改
git·macos
真心喜欢你吖8 小时前
OpenClaw安装部署Mac操作系统版 - 打造你的专属AI助理
java·人工智能·macos·ai·语言模型·智能体·openclaw
arvin_xiaoting9 小时前
使用 exo 技术构建 Mac mini AI 推理集群:从架构到实战
人工智能·macos·架构·mac mini·exo
阿正的梦工坊9 小时前
Mac 的.zshrc在 Windows 上等价怎么做:设置环境变量
windows·macos
xrkhy9 小时前
MacOS M3 安装nvm以及node.js
macos·node.js
jian1105811 小时前
Mac 如何找到快捷键截屏被哪个程序设置使用的,
macos
水月天涯12 小时前
Mac系统下制作 Ubuntu镜像(小白教程)
linux·ubuntu·macos