Skip to content
Browse files

[Fix #111] Add documentation for prompt

  • Loading branch information...
1 parent 399b2f5 commit 10ab5e2b58f5c7cff41c18279016d9e963b70287 @ColinHebert ColinHebert committed with sorin-ionescu Apr 14, 2012
Showing with 23 additions and 7 deletions.
  1. +23 −0 modules/prompt/README.md
  2. +0 −7 modules/prompt/init.zsh
View
23 modules/prompt/README.md
@@ -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
7 modules/prompt/init.zsh
@@ -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

0 comments on commit 10ab5e2

Please sign in to comment.
Something went wrong with that request. Please try again.