Skip to content

nemeshnorbert/pedantic-zsh-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 and lyze/posh-git-sh

Screenshot of Pedantic theme

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 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).

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

PEDANTIC_SHOW_HOSTNAME=false
PEDANTIC_CURRENT_DIR_COLOUR=yellow

For a full list see pedantic.zsh-theme file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages