Skip to content

Latest commit

History

History
41 lines (24 loc) 路 1.53 KB

readme.md

File metadata and controls

41 lines (24 loc) 路 1.53 KB

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