Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/isuke/droolscar
zsh theme
https://github.com/isuke/droolscar
git-duet nerd-fonts powerline zsh-theme
Last synced: about 1 month ago
JSON representation
zsh theme
- Host: GitHub
- URL: https://github.com/isuke/droolscar
- Owner: isuke
- License: mit
- Created: 2018-02-04T05:56:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-02-05T01:23:57.000Z (4 months ago)
- Last Synced: 2024-02-05T13:01:44.305Z (4 months ago)
- Topics: git-duet, nerd-fonts, powerline, zsh-theme
- Language: Shell
- Homepage:
- Size: 213 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- awesome-zsh-plugins - droolscar - [Powerline](https://github.com/powerline/powerline) variant. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - droolscar - <b><code> 14224โญ</code></b> <b><code> 992๐ด</code></b> [Powerline](https://github.com/powerline/powerline)) variant. (Themes / ZSH on Windows)
- awesome-zsh-plugins - droolscar - [Powerline](https://github.com/powerline/powerline) variant. (Themes / ZSH on Windows)
- awesome-zsh-plugins - droolscar - [Powerline](https://github.com/powerline/powerline) variant. (Themes / Zinit (nรฉe zplugin))
README
# Droolscar [![git-consistent friendly](https://img.shields.io/badge/git--consistent-friendly-brightgreen.svg)](https://github.com/isuke/git-consistent) [![MIT](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/isuke/droolscar/main/LICENSE)
![](https://raw.githubusercontent.com/isuke/droolscar/images/image1.png)
**Droolscar** is zsh theme.
You need [Nerd Fonts](https://www.nerdfonts.com/).
The following fonts are recommended for Japanese.
- [็ฝๆบ (ใฏใใใ๏ผHackGen)](https://github.com/yuru7/HackGen)
- [PlemolJP](https://github.com/yuru7/PlemolJP)## Features
![](https://raw.githubusercontent.com/isuke/droolscar/images/features.png)
### user id and os
Show user id and os icon (Linux or Mac).
### current directory
Show current directory name.
### git authors
Show current git author name.
If you use [git-duet](https://github.com/git-duet/git-duet), show all author names.### git current branch and status
Show git current branch name.
Show git status as follows.
* `โ` : exist staged file(s).
* `โ` : exist unstaged file(s).### git stash num
Show git stash num.
If exist stash, text color is changed to red.### git remote names and status
Show git remote names.
If exist multiple remote (ex, `master` and `heroku`), show all.If exist 'not pushed commits', counted numbers show by negative.
And text color is changed to yellow.If exist 'not pulled commits', counted numbers show by positive.
And text color is changed to red.### current time and exit status
Show current time.
If prev command's exit code is not 0, background color is changed to red.
## Usage
### By [zinit](https://github.com/zdharma-continuum/zinit)
```sh
$ echo 'zinit light "isuke/droolscar"' >> ~/.zshrc
```### By [zplug](https://github.com/zplug/zplug)
```sh
$ echo 'zplug "isuke/droolscar", as:theme' >> ~/.zshrc
```### Plain
```sh
$ git clone [email protected]:isuke/droolscar.git
$ echo 'source /your/path/droolscar/droolscar.zsh-theme' >> ~/.zshrc
```## Options
| Environment Variable | Default Value | Description |
| ------------------------------- | ------------------- | ------------------------------------------------ |
| `DROOLSCAR_DATE_FORMAT` | `"+%m/%d %H:%M:%S"` | current date time format. |
| `DROOLSCAR_LANGS` | `()` | which programming lang versions by [mise](https://mise.jdx.dev/) on right. ex) `(ruby node go)` |
| `DROOLSCAR_ABSOLUTE_PATH_MAX_LENGTH` | `$(( COLUMNS * 0.2 ))}` | show current absolute path max length on right. don't show if set `0`. |
| `DROOLSCAR_SEGMENT_SEPARATOR` | `"๎ฐ"` (U+E0B0) | separate character of each segment for left. |
| `DROOLSCAR_SEGMENT_SEPARATOR_R` | `"๎ฒ"` (U+E0B2) | separate character of each segment for right. |### Recommended Separator Characters
- hard_divider (default)
- left: `"๎ฐ"` (U+E0B0)
- right: `"๎ฒ"` (U+E0B2)
- triangle1
- left: `"๎ธ"` (U+E0B8)
- right: `"๎พ"` (U+E0BE)
- triangle2
- left: `"๎ผ"` (U+E0BC)
- right: `"๎บ"` (U+E0BA)
- half_circle_thick
- left: `"๎ด"` (U+E0B4)
- right: `"๎ถ"` (U+E0B6)
- flame_thick
- left: `"๎"` (U+E0C0)
- right: `"๎"` (U+E0C2)
- ice_waveform
- left: `"๎"` (U+E0C8)
- right: `"๎"` (U+E0CA)