Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evanthegrayt/grayt-zsh-theme
đ¨ A simple, yet informative, zsh theme for your prompt.
https://github.com/evanthegrayt/grayt-zsh-theme
oh-my-zsh-prompt oh-my-zsh-theme zsh-prompt zsh-theme
Last synced: about 2 months ago
JSON representation
đ¨ A simple, yet informative, zsh theme for your prompt.
- Host: GitHub
- URL: https://github.com/evanthegrayt/grayt-zsh-theme
- Owner: evanthegrayt
- License: mit
- Created: 2018-12-03T14:33:52.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-02-07T16:00:37.000Z (over 4 years ago)
- Last Synced: 2024-01-25T23:12:12.089Z (4 months ago)
- Topics: oh-my-zsh-prompt, oh-my-zsh-theme, zsh-prompt, zsh-theme
- Language: Shell
- Homepage:
- Size: 689 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - grayt - Simple yet informative theme that includes `git` decorations and the return status of the last command. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - grayt - Simple yet informative theme that includes `git` decorations and the return status of the last command. (Themes / ZSH on Windows)
- awesome-zsh-plugins - grayt - Simple yet informative theme that includes `git` decorations and the return status of the last command. (Themes / ZSH on Windows)
- awesome-zsh-plugins - grayt - Simple yet informative theme that includes `git` decorations and the return status of the last command. (Themes / Zinit (nÊe zplugin))
README
# grayt-zsh-theme
A simple, yet informative, zsh theme## Installation
Clone the repository, preferably under `$ZSH_CUSTOM/themes`. Then, link the
theme directly in the `$ZSH_CUSTOM/themes` directory.
```sh
git clone https://github.com/evanthegrayt/grayt-zsh-theme.git $ZSH_CUSTOM/themes
ln -s $ZSH_CUSTOM/themes/grayt-zsh-theme/grayt.zsh-theme $ZSH_CUSTOM/themes
```
Once installed, set the theme in your `~/.zshrc` file.
```sh
export ZSH_THEME="grayt"
```
Re-source your `~/.zshrc`
```sh
. ~/.zshrc
```### Dependencies
If you want the `git` branch to truncate, you'll need to install
[omz-git](https://github.com/tnwinc/omz-git).## Screenshots
Here's a few examples, including a non-`git` directory, a clean `git` directory,
an un-clean `git` directory, and a non-zero return code. As you can see, if the
`git` branch and `$PWD` will truncate if they cause the line to be too long.
I'm using [iTerm2](https://www.iterm2.com/) on MacOS, with
the [Hack font](https://sourcefoundry.org/hack/).![](https://user-images.githubusercontent.com/12698076/69295476-0220dd00-0bd1-11ea-9f46-0ba574d09742.jpg)
## Customization
You can change the main prompt color by adding the following line to your
`~/.zshrc`:```zsh
GRAYT_PROMPT_COLOR=red # This will make the prompt red
```## Issues and Reporting Bugs
Please [submit an
issue](https://github.com/evanthegrayt/grayt-zsh-theme/issues/new) if you find
bugs.## Self-Promotion
I do these projects for fun, and I enjoy knowing that they're helpful to people.
Consider starring [the
repository](https://github.com/evanthegrayt/grayt-zsh-theme) if you like it! If
you love it, follow me [on github](https://github.com/evanthegrayt)!