Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cravend/theme
A modern theme for ZSH
https://github.com/cravend/theme
oh-my-zsh oh-my-zsh-theme zsh
Last synced: about 2 months ago
JSON representation
A modern theme for ZSH
- Host: GitHub
- URL: https://github.com/cravend/theme
- Owner: cravend
- License: mit
- Created: 2021-08-30T13:24:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-05T11:03:21.000Z (10 months ago)
- Last Synced: 2024-01-25T18:07:25.948Z (4 months ago)
- Topics: oh-my-zsh, oh-my-zsh-theme, zsh
- Language: Shell
- Homepage:
- Size: 634 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Lists
- awesome-zsh-plugins - cravend - Includes `hostname` decorator (only in active `ssh` sessions) and `git` status decorations. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - cravend - Includes `hostname` decorator (only in active `ssh` sessions) and `git` status decorations. (Themes / ZSH on Windows)
README
# cravend.theme
![Default light theme](./assets/light/home.png)
This is my custom ZSH theme, which I feel is a nice balance between being informative and overwhelming.
## Installation
First, download the file:
```sh
curl -o $ZSH_CUSTOM/themes/cravend.zsh-theme \
https://raw.githubusercontent.com/cravend/theme/main/cravend.zsh-theme
```Then, define your custom theme in `.zshrc`:
```sh
export ZSH_THEME="cravend"
```If you want the optional right-aligned battery display, add the battery script to `/usr/local/bin`:
```sh
curl -o /usr/local/bin/battery \
https://raw.githubusercontent.com/cravend/theme/main/battery.sh```
This script hasn't been tested except on macOS.
## Features
- color-coded git symbols (new, modified, etc)
- sane defaults (hide the hostname when you're not in a SSH session)## Notes
I think this looks best using the [`base16_tomorrow`](https://github.com/chriskempson/tomorrow-theme#tomorrow) and [`base16_tomorrow-night-eighties`](https://github.com/chriskempson/tomorrow-theme#tomorrow-night-eighties) themes, so I wrote [`autodark`](https://github.com/cravend/autodark) to help automate switching. You should check it out!
## Screenshots
| | |
| -------------------------------------------- | ------------------------------------------ |
| ![Home light theme](./assets/light/home.png) | ![Home dark theme](./assets/dark/home.png) |
| ![Path light theme](./assets/light/path.png) | ![Path dark theme](./assets/dark/path.png) |
| ![SSH light theme](./assets/light/ssh.png) | ![SSH dark theme](./assets/dark/ssh.png) |