方法

Kevin2li小于 1 分钟

方法

# ubuntu
sudo apt update
sudo apt install most
export PAGER="most"

# 写入~/.zshrc
echo 'export PAGER="most"' >> ~/.zshrc

验证:

image.png
image.png

参考

  1. https://www.howtogeek.com/683134/how-to-display-man-pages-in-color-on-linux/open in new window