table of contents

Colorful Time Prompt in zsh

2020-04-18, post № 227

programming, #customization, #prompt, #zsh

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

If you want to try out my prompt, the following installer automatically downloads jprompt.c (Unlanguaged), compiles it and asks if .zshrc should be set up to load my prompt.
Since jblog has moved, the below script might not work.

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