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
相关推荐
William.csj19 小时前
Mac——文件夹压缩的简便方法
macos
北冥有鱼被烹19 小时前
【问题】Mac 的 Finder 中没有桌面选项如何处理?(访达 -> 设置 -> 边栏 -> 勾选桌面)
macos
wenxiaocsdn1 天前
macos虚拟机-演示篇三配置clover引导
macos
迷路爸爸1801 天前
源码编译安装最新 tmux 教程(含 Debian/Ubuntu/CentOS/Arch/macOS 等系统)
linux·ubuntu·macos·centos·debian·tmux·archlinux
xingxing_F1 天前
Rhino 8 for Mac 犀牛3D建模软件
macos·3d
takashi_void1 天前
如何在本地部署大语言模型(Windows,Mac,Linux)三系统教程
linux·人工智能·windows·macos·语言模型·nlp
哦豁灬2 天前
macOS 常用快捷键
macos
亚林瓜子2 天前
在vscode中全选后,同时在每行行尾,开始多行编辑(Mac版)
ide·vscode·macos
一张假钞2 天前
Mac OS 常用快捷键
macos
2501_915921432 天前
iOS混淆与IPA加固实战手记,如何构建苹果应用防反编译体系
android·macos·ios·小程序·uni-app·cocoa·iphone