1
0
Fork 0

Enhance the cloud prompt header

* Fix indentation levels in the cloud prompt header.
* Use a more descriptive description.
* Add a features section to the header.
* Add a note section to the header for attrbution.
pull/661/head
Kevin Laude 10 years ago
parent 190da12501
commit 02633947af

@ -1,23 +1,38 @@
# #
# The oh-my-zsh cloud theme ported to prezto # A minimal two-color theme.
# #
# Authors: # Authors:
# Kevin Laude <nerfyoda@gmail.com> # Kevin Laude <nerfyoda@gmail.com>
# #
# Usage: # Features:
# This prompt's prefix symbol and colors are customizable: # - One line, left aligned.
# - The prompt is prefixed by a character sequence of your choice.
# - Only displays the current directory instead of the full path.
# - Displays the current branch when in a git project (this requires loading
# the git module before prompt in ~/.zpreztorc).
# - Displays a character at the end of the prompt when in a git project with
# "dirty" files.
# #
# prompt cloud [<symbol>] [<color1>] [<color2>] # Usage:
# This prompt's prefix symbol and colors are customizable:
# prompt cloud [<symbol>] [<color1>] [<color2>]
# #
# In ~/.zpreztorc: # In ~/.zpreztorc:
# zstyle ':prezto:module:prompt' theme 'cloud' ['<symbol>'] ['<color1>'] ['<color2>'] # zstyle ':prezto:module:prompt' theme 'cloud' \
# ['<symbol>'] \
# ['<color1>'] \
# ['<color2>']
# #
# If these options are not provided, the symbol defaults to ☁ with colors cyan # If these options are not provided, the symbol defaults to "" with colors
# and green. # cyan and green.
# #
# Screenshots: # Screenshots:
# http://i.imgur.com/mJCZ8rE.png # http://i.imgur.com/mJCZ8rE.png
# #
# Note:
# This is a port of the oh-my-zsh cloud theme, originally written by Phillip
# Ridlen <p@rdln.net> and Mark Drago <markdrago@gmail.com>
#
# Load dependencies. # Load dependencies.
pmodload 'helper' pmodload 'helper'
@ -104,4 +119,3 @@ function prompt_cloud_setup {
} }
prompt_cloud_setup "$@" prompt_cloud_setup "$@"

Loading…
Cancel
Save