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
相关推荐
sysinside10 小时前
如何创建可引导的 macOS Golden Gate 27 安装介质
macos
Dr.Buho14 小时前
macOS 27 升级教程:兼容机型、三种安装方法与降级提示
经验分享·macos
sysinside15 小时前
macOS Golden Gate 27.0 (26A428) 正式版 Boot ISO 原版可引导映像下载
macos
黑科技iOS上架1 天前
Cocos应用App Store4.3被拒怎么自查
macos·ios·objective-c·cocoa·审核·ios混淆·cocos混淆
典典分享指南2 天前
AI 配图的排版规范
macos·docker·github·vim·visual studio
:-)3 天前
修改mac电脑用户名
macos
Είναι η κοπέλα3 天前
本地大模型部署完全指南:Ollama / vLLM / llama.cpp / MLX 四大引擎横评与选型实战
macos·llama·vllm
那年窗外下的雪.3 天前
AIDC 学习日志|第 25 天|设备输出反推、MAC Flapping 与 EAD 撤销
前端·网络·git·学习·macos
星辰即远方3 天前
RunLoop初步了解
macos·objective-c·cocoa
代码的小搬运工3 天前
Runloop
macos·objective-c·cocoa