diff --git a/modules/prompt/functions/prompt_cloud_setup b/modules/prompt/functions/prompt_cloud_setup index 02cce5b3..f519f945 100644 --- a/modules/prompt/functions/prompt_cloud_setup +++ b/modules/prompt/functions/prompt_cloud_setup @@ -1,23 +1,38 @@ # -# The oh-my-zsh cloud theme ported to prezto +# A minimal two-color theme. # # Authors: -# Kevin Laude +# Kevin Laude # -# Usage: -# This prompt's prefix symbol and colors are customizable: +# Features: +# - 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 [] [] [] +# Usage: +# This prompt's prefix symbol and colors are customizable: +# prompt cloud [] [] [] # -# In ~/.zpreztorc: -# zstyle ':prezto:module:prompt' theme 'cloud' [''] [''] [''] +# In ~/.zpreztorc: +# zstyle ':prezto:module:prompt' theme 'cloud' \ +# [''] \ +# [''] \ +# [''] # -# If these options are not provided, the symbol defaults to ☁ with colors cyan -# and green. +# If these options are not provided, the symbol defaults to "☁" with colors +# cyan and green. # # Screenshots: # http://i.imgur.com/mJCZ8rE.png # +# Note: +# This is a port of the oh-my-zsh cloud theme, originally written by Phillip +# Ridlen and Mark Drago +# # Load dependencies. pmodload 'helper' @@ -104,4 +119,3 @@ function prompt_cloud_setup { } prompt_cloud_setup "$@" -