I have seen a bunch of different zsh prompts but I was wondering how I can add a clock?

I want a simple clock, not anything too complex that self updates.

有帮助吗?

解决方案

export RPROMPT=$'%F{cyan}%*%f' creates a simple, blue clock on the right side of the screen.

Go here for more info Zsh prompt

其他提示

You could use this: liquidprompt

Perhaps in conjunction with antigen

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top