Skip to content

DFurnes/purer

 
 

Repository files navigation

Purer

Pretty one-line ZSH prompt based on @sindresorhus's Pure

purer

Install

Can be installed with npm or manually. Requires Git 2.0.0+ and ZSH 5.2+.

$ npm install --global purer-prompt

Initialize the prompt system (if not so already) and choose purer:

# .zshrc
autoload -U promptinit; promptinit
prompt purer

See Pure's readme for more detailed instructions.

Customization

Purer supports customization using Pure's environment variables, plus:

PURE_PROMPT_SYMBOL_COLOR

Defines the prompt symbol color. The default value is magenta; you can use any colour name or numeric colour code (see zshzle(1) section Character Highlighting.)

PURE_PROMPT_PATH_FORMATTING

Defines how to display the path. Default value: %c. See Prompt Expansion for more.

License

Purer MIT © David Furnes
Pure MIT © Sindre Sorhus