跳转至

macOS 现代化Unix工具

概要: 参考GitHub上的 ibraheemdev/modern-unix 项目,对macOS的终端工具进行现代化和易用性改造,选取了几个无需配置,安装即用的工具

创建时间: 2022.07.01 23:53:00

更新时间: 2022.11.20 22:02:52

bat 更好的cat

Bash
brew install bat
使用 cat 效果
image.png
使用 bat 效果
image.png

lsd 更好的ls

Bash
brew install lsd
image.png

dust 更好的du

Bash
brew install dust
image.png

duf 更好的df

Bash
brew install duf
image.png

gtop 更好的top

Bash
brew install gtop
使用 top
image.png
使用 gtop
image.png

gping 更好的ping

Bash
brew install gping
使用 ping
image.png
使用 gping
image.png

一键安装全部工具

Bash
brew install bat lsd dust duf gtop gping

工具替代

zsh 环境下,使用 bat 替换 cat,使用 lsd 替换 ls,写入到 ~/.zshrc 文件即可

Bash
echo 'alias ls="lsd"
alias cat="bat"' >> ~/.zshrc

参考