1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

[Fix #111] Add documentation for prompt

This commit is contained in:
Colin Hebert 2012-04-14 11:48:55 +01:00 committed by Sorin Ionescu
parent 399b2f529d
commit 10ab5e2b58
2 changed files with 23 additions and 7 deletions

23
modules/prompt/README.md Normal file
View File

@ -0,0 +1,23 @@
Prompt
======
Loads prompt [themes][1].
Settings
--------
To select a prompt theme, add the following to *zshrc*, and replace **name** with the
name of the theme you wish to load. Setting it to **random** will load a random
theme.
zstyle ':omz:module:prompt' theme 'name'
Authors
-------
*The authors of this module should be contacted via the GitHub issue tracker.*
- [Sorin Ionescu](/sorin-ionescu)
[1]: http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#Prompt-Themes

View File

@ -4,13 +4,6 @@
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Usage:
# To select a prompt theme, add the following to zshrc, and replace 'name'
# with the name of the theme you wish to load. Setting it to random will load
# a random theme.
#
# zstyle ':omz:module:prompt' theme 'name'
#
# Load and run the prompt theming system.
autoload -Uz promptinit && promptinit