lightbulb.zsh-theme

January 19, 2021 ยท View on GitHub

A ZSH theme that displays the following:

  • ๐Ÿ’ฝ: OS - Kernel Information[ - ***REBOOT REQUESTED***]
  • โ•ฐโ”€๐Ÿ•ฐ: Datetime - Uptime
  • โ•ฐโ”€โ”€๐Ÿ“‚: Current directory (Number of files and total size)
  • โ•ฐโ”€โ”€โ”€๐Ÿ™‚|๐Ÿคฌ@๐Ÿ–ฅ: Job status(Good|Bad) username@hostname
  • โ•ฐโ”€โ”€โ”€โ”€>๐Ÿ’ก: TTY git:(status) ->

Sample Screenshot

A redacted example looks like this (Job Status changes and ***REBOOT REQUESTED*** are circled):

Screenshot

New feature - Reboot Notification!!

This will now let you know if you open a terminal that a reboot is requested. This is only checked on first launch of the terminal. The reboot check function for CentOS/Fedora depends on yum-utils or dnf-utils. Ubuntu checks for /var/run/reboot-required.

Worth mentioning

I'm new to ZSH and only started using it because Kali Linux decided to go that route and I wanted to see what all the hubbub was about. I set up this theme based on how I had my bash prompt set up. I've tested on Fedora and CentOS which is what I mainly use. Ubuntu seems to work as well although it is not as extensively tested.

Enjoy ๐Ÿ™‚ (or not ๐Ÿคฌ)!! ๐Ÿ’ก