jottenlips/seasonal-zshthemes
About
๐ Seasonal ZSH Themes - Impress your friends ~ Automatic terminal theming for each season
Developer ToolsMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalInstall
seasonal zsh prompts with git status
These themes work with plain zsh or with oh-my-zsh. The only dependency is git (for the branch name and clean/dirty emoji).
With oh-my-zsh
- Clone me
- Run
cd seasonal-zshthemes
sh add_themes.sh
This copies lib.zsh and all the theme files to ~/.oh-my-zsh/themes/.
With plain zsh
No copying needed, just source a theme from your ~/.zshrc:
source ~/seasonal-zshthemes/summer.zsh-theme
Automatically set the theme for the season you are experiencing.
The script picks the matching holiday theme on the holiday, otherwise the theme for the current season.
With oh-my-zsh
Set your zsh theme to the get theme for season shell script.
$ vim ~/.zshrc
ZSH_THEME=$(sh ~/seasonal-zshthemes/get_theme_season.sh)
With plain zsh
$ vim ~/.zshrc
source ~/seasonal-zshthemes/$(sh ~/seasonal-zshthemes/get_theme_season.sh).zsh-theme
Themes
All themes share the same layout: a status emoji (green on success, red on error), the current directory, and git status with a clean/dirty emoji. There is no right-side prompt, so copying from the terminal stays clean.
Seasons
| Theme | Success | Error | Clean | Dirty |
|---|---|---|---|---|
| winter | โ๏ธ | ๐ฅถ | โ | ๐จ๏ธ |
| spring | ๐ธ | ๐ง๏ธ | ๐ฐ | ๐ฑ |
| summer | โ๏ธ | ๐ฆ | โจ | ๐ฌ |
| fall | ๐ | ๐ | ๐ฆ | ๐ |
Holidays
| Theme | Date | Success | Error | Clean | Dirty |
|---|---|---|---|---|---|
| newyear | Jan 1 & Dec 31 | ๐ | ๐ | ๐ | ๐ฅ |
| mlk | 3rd Mon of Jan | โ | ๐ฏ๏ธ | ๐๏ธ | ๐ค |
| valentine | Feb 14 | ๐ | ๐ | ๐น | ๐ |
| presidents | 3rd Mon of Feb | ๐ฉ | ๐ฆ | โ๏ธ | ๐๏ธ |
| stpatrick | Mar 17 | โ๏ธ | ๐ | ๐ฎ๐ช | ๐บ |
| easter | Easter Sunday | ๐ฃ | ๐ฅ | ๐ฐ | ๐งบ |
| memorial | Last Mon of May | ๐๏ธ | ๐๏ธ | ๐๏ธ | ๐ฆ |
| juneteenth | Jun 19 | โ๐พ | ๐ฅ | ๐๏ธ | ๐ค |
| independence | Jul 4 | ๐ฆ | ๐ | ๐ | ๐งจ |
| labor | 1st Mon of Sep | ๐ ๏ธ | โ๏ธ | ๐๏ธ | ๐ง |
| columbus | 2nd Mon of Oct | ๐งญ | โต | ๐ | ๐บ๏ธ |
| halloween | Oct 31 | ๐ | ๐ป | ๐ | ๐ธ๏ธ |
| veterans | Nov 11 | ๐๏ธ | ๐ซก | ๐ฆ | ๐๏ธ |
| thanksgiving | 4th Thu of Nov | ๐ฆ | ๐ | ๐ | ๐ฅง |
| holiday | Dec 24 & 25 | ๐ | ๐ | ๐ | ๐ท |
To set any theme manually, e.g.:
$ cp summer.zsh-theme ~/.oh-my-zsh/themes/
Add
ZSH_THEME="summer"to your zshrc.
Testing the date script
ZSHTHEME_DATE=2024-07-04 sh get_theme_season.sh
More:
For more themes and plugins check out https://github.com/unixorn/awesome-zsh-plugins.
Explore related projects
Loadingโฆ