Question

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.

Était-ce utile?

La solution

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

Go here for more info Zsh prompt

Autres conseils

You could use this: liquidprompt

Perhaps in conjunction with antigen

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top