Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不想要命令号或退出状态,我希望命令显示在我的 zsh 提示符中。有谁知道这是否可能,以及如何做到这一点?
谢谢!
您可能需要更多格式,但是:
preexec() { PS1="$2\$ "; }