【发布时间】:2018-08-16 01:54:02
【问题描述】:
我正在尝试使用 ZSH 从我的终端 (macOS) 中删除当前时间戳。我正在使用 oh-my-zsh,并且配置了“纯”主题。
时间戳出现在每行最右边的括号中,我不知道如何删除它。
示例: Timestamps are highlighted in red on the right.
更新:终端输出示例,我想从每一行中删除[17:29:47]等。
❯ cd ~ [17:29:47]
~
❯ ls [17:29:49]
Applications Documents Library Music Projects
Desktop Downloads Movies Pictures Public
~
❯ ls -l [17:29:51]
total 0
drwx------@ 4 gage staff 128 Mar 4 22:27 Applications
drwx------@ 4 gage staff 128 Mar 7 15:39 Desktop
任何帮助将不胜感激,谢谢!
【问题讨论】:
标签: macos shell unix zsh oh-my-zsh