Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nemeshnorbert/pedantic-zsh-theme
https://github.com/nemeshnorbert/pedantic-zsh-theme
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nemeshnorbert/pedantic-zsh-theme
- Owner: nemeshnorbert
- License: mit
- Created: 2023-05-20T12:01:00.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-02T14:58:07.000Z (about 1 year ago)
- Last Synced: 2024-01-25T23:11:45.974Z (4 months ago)
- Language: Shell
- Size: 508 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - pedantic - Customizable colors and output. Includes decorators for detailed `git` information, root status, last command's exit status, user@host, current directory and the time. (Themes / ZSH on Windows)
- fucking-awesome-zsh-plugins - pedantic - Customizable colors and output. Includes decorators for detailed `git` information, root status, last command's exit status, user@host, current directory and the time. (Themes / ZSH on Windows)
README
# Pedantic zsh theme
A zsh theme for those how pay attention to details.
This theme has a promt with detailed information on your system and status of current git repository.
Theme is inspired by [dannynimmo/punctual-zsh-theme](https://github.com/dannynimmo/punctual-zsh-theme) and [lyze/posh-git-sh](https://github.com/lyze/posh-git-sh)![Screenshot of Pedantic theme](./screenshot.png)
## Features
* Customisable colours & output
* Git branch & detailed status display, rebase and merge status
* Username turns red when root
* Prompt turns red if the last command finishes with non-zero exit code## Installation
### Oh My Zsh
1. Download [pedantic.zsh-theme](https://raw.githubusercontent.com/nemeshnorbert/pedantic-zsh-theme/master/pedantic.zsh-theme) into your custom theme directory, `$ZSH_CUSTOM/themes`
2. Update `ZSH_THEME="pedantic"` in your `~/.zshrc`
3. Open a new terminal and behold### Antigen
Include the following line to `~/.zshrc` as part of your antigen setup (after any [configuration settings](#configuration)).
```zsh
antigen theme nemeshnorbert/pedantic-zsh-theme pedantic
```## Configuration
You can change prompt style by setting environment variables before loading the theme, you can customise the output format by changing settings in your terminal or `.zshrc` file.
Example of settings that can be tweaked
```zsh
PEDANTIC_SHOW_HOSTNAME=false
PEDANTIC_CURRENT_DIR_COLOUR=yellow
```For a full list see [pedantic.zsh-theme](https://github.com/nemeshnorbert/pedantic-zsh-theme/blob/master/pedantic.zsh-theme) file.