Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uu1t/hanpen.zsh-theme
:art: Hanpen Oh My Zsh theme
https://github.com/uu1t/hanpen.zsh-theme
oh-my-zsh-theme zsh-theme
Last synced: about 2 months ago
JSON representation
:art: Hanpen Oh My Zsh theme
- Host: GitHub
- URL: https://github.com/uu1t/hanpen.zsh-theme
- Owner: uu1t
- License: mit
- Created: 2018-01-04T15:03:29.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-27T08:07:48.000Z (over 5 years ago)
- Last Synced: 2024-04-04T04:42:36.089Z (2 months ago)
- Topics: oh-my-zsh-theme, zsh-theme
- Language: Shell
- Size: 303 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - hanpen - Shows `git` branch and status, last command exit code, last command execution time if more than `ZSH_THEME_HANPEN_CMD_MAX_EXEC_TIME`. (Themes / ZSH on Windows)
README
# hanpen.zsh-theme
[![Build Status](https://travis-ci.org/uu1t/hanpen.zsh-theme.svg?branch=master)](https://travis-ci.org/uu1t/hanpen.zsh-theme)
> :art: Hanpen Oh My Zsh theme
![screenshot](./screenshot.png)
## Dependencies
- [Oh My Zsh](https://github.com/robbyrussell/oh-my-zsh)
(specifically [lib/git.zsh](https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/git.zsh) and [lib/theme-and-appearance.zsh](https://github.com/robbyrussell/oh-my-zsh/blob/master/lib/theme-and-appearance.zsh) in Oh My Zsh)### Optional dependencies
- [zsh-async](https://github.com/mafredri/zsh-async)
## Installation
### Zgen
```
# Load Oh My Zsh
zgen oh-my-zsh# Or load dependent libs explicitly
zgen load robbyrussell/oh-my-zsh lib/git.zsh
zgen load robbyrussell/oh-my-zsh lib/theme-and-appearance.zsh# Load zsh-async (optional)
zgen load mafredri/zsh-async async.zsh# Then load this theme
zgen load uu1t/hanpen.zsh-theme hanpen.zsh-theme
```## Features
- Show git branch and status.
- asynchronously if [zsh-async](https://github.com/mafredri/zsh-async) is installed.
- Show exit status except for 0 (success).
- Show command execution time longer than `ZSH_THEME_HANPEN_CMD_MAX_EXEC_TIME` (default: `5`) seconds.
- Colorize less(1) in man pages and with GNU Source-highlight.## Recommended usage
- Use powerline-patched fonts.
- Locate a theme for GNU dircolors on `~/.dircolors` or assign the path to `ZSH_THEME_HANPEN_DIRCOLORS_THEME_PATH` variable.
- Install GNU Source-highlight `src-hilite-lesspipe.sh` into a directory in `$PATH`.
- Install [sindresorhus/pretty-time-zsh](https://github.com/sindresorhus/pretty-time-zsh).## Others
In the screenshot, followings are used:
- [zsh-syntax-highlighting](https://github.com/zsh-users/zsh-syntax-highlighting)
- Tomorrow Night in [iTerm2-Color-Schemes](https://github.com/mbadolato/iTerm2-Color-Schemes)
- `dircolors.256dark` in [dircolors-solarized](https://github.com/seebi/dircolors-solarized)
- [Source Code Pro](https://github.com/adobe-fonts/source-code-pro)## License
MIT