diff options
author | LFDM <1986gh@gmail.com> | 2014-01-06 09:57:23 +0100 |
---|---|---|
committer | LFDM <1986gh@gmail.com> | 2014-01-06 09:57:23 +0100 |
commit | 082607c165c6ae16b7b059e941c8bfa3eddabbb8 (patch) | |
tree | 8aa82c720d9bfe2a93b5d0177293423dc5d37bda /lib/ruby_prompts.zsh | |
parent | 72392a2c27386706c78efe1ace9b84e602d9d1ff (diff) | |
download | zsh-082607c165c6ae16b7b059e941c8bfa3eddabbb8.tar.gz zsh-082607c165c6ae16b7b059e941c8bfa3eddabbb8.tar.bz2 zsh-082607c165c6ae16b7b059e941c8bfa3eddabbb8.zip |
Adds documentation.
Diffstat (limited to 'lib/ruby_prompts.zsh')
-rw-r--r-- | lib/ruby_prompts.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/ruby_prompts.zsh b/lib/ruby_prompts.zsh index 9ca6e1fc7..1aaf9de17 100644 --- a/lib/ruby_prompts.zsh +++ b/lib/ruby_prompts.zsh @@ -1,3 +1,15 @@ +# *_prompt_info functions for usage in your prompt +# +# Plugin creators, please add your *_prompt_info function to the list +# of dummy implementations to help theme creators not receiving errors +# without the need of implementing conditional clauses. +# +# See also lib/bzr.zsh, lib/git.zsh and lib/nvm.zsh for +# git_prompt_info, bzr_prompt_info and nvm_prompt_info + +# Dummy implementations that return false to prevent command_not_found +# errors with themes, that implement these functions +# Real implementations will be used when the respective plugins are loaded function chruby_prompt_info hg_prompt_info pyenv_prompt_info \ rbenv_prompt_info svn_prompt_info vi_mode_prompt_info \ virtualenv_prompt_info { |