Jonathan. Frech’s WebBlog

Colorful Time Prompt in zsh (#227)

Jonathan Frech,

I have been using zsh for a while now, and whilst I like its minimalistic ap­proach, I felt that my prompt lacked a certain graphical oomph.
Thus, I built what most graphical environments hide away at the screen’s corner di­rect­ly into the prompt — a clock. Paired with a time-sensitive rainbow color scheme, I find the re­sult quite visually pleasing.

If you want to try out my prompt, the following installer automatically downloads jprompt.c, compiles it and asks if .zshrc should be set up to load my prompt.

Since my blog has moved, the following script might not work properly.

% curl --silent https://www.jfrech.com/jblog/post227/install.zsh | zsh