我正在尝试使用 ZSH 从我的终端 (macOS) 中删除当前时间戳。我正在使用 oh-my-zsh 并且配置了主题“pure”。
\n\n时间戳出现在每行最右侧的括号中,我不知道如何删除它。
\n\n示例: \n时间戳在右侧以红色突出显示。
\n\n更新:终端输出示例,我想[17:29:47]从每一行中删除等。
\xe2\x9d\xaf cd ~ [17:29:47]\n\n~\n\xe2\x9d\xaf ls [17:29:49]\nApplications Documents Library Music Projects\nDesktop Downloads Movies Pictures Public\n\n~\n\xe2\x9d\xaf ls -l [17:29:51]\ntotal 0\ndrwx------@ 4 gage staff 128 Mar 4 22:27 Applications\ndrwx------@ 4 gage staff 128 Mar 7 15:39 Desktop\nRun Code Online (Sandbox Code Playgroud)\n\n任何帮助将不胜感激,谢谢!
\n