当我在Mac终端上进行一些操作时,用户的输入和shell的输出具有相同的颜色
当我有很多操作并且想要回顾历史时,这很困难,因为用户输入和 shell 输出的所有行都混合在一起。
我想为用户的输入文本指定不同的颜色。如何在 macOS 终端中执行此操作?
系统版本:macOS High Sierra 10.13.1
软件:终端
macos shell terminal
macos ×1
shell ×1
terminal ×1