From b36d98e43129dfaddb86c2ff29551c23162aae2c Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 2 Oct 2012 12:53:59 -0400 Subject: [PATCH] Fix the name of the theme setup function in READMEs --- modules/python/README.md | 4 ++-- modules/ruby/README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/python/README.md b/modules/python/README.md index b94fa326..c48f4ea3 100644 --- a/modules/python/README.md +++ b/modules/python/README.md @@ -86,13 +86,13 @@ Theming ------- To display the name of the current virtual enviroment in a prompt, define the -following style in the `prompt_theme_setup` function. +following style in the `prompt_name_setup` function. # %v - virtualenv name. zstyle ':prezto:module:python:info:virtualenv' format 'virtualenv:%v' Then add `$python_info[virtualenv]` to `$PROMPT` or `$RPROMPT` and call -`python-info` in the `prompt_theme_preexec` hook function. +`python-info` in the `prompt_name_preexec` hook function. Authors ------- diff --git a/modules/ruby/README.md b/modules/ruby/README.md index 4961f00d..42e63be6 100644 --- a/modules/ruby/README.md +++ b/modules/ruby/README.md @@ -66,13 +66,13 @@ Theming ------- To display the name of the current Ruby version in a prompt, define the -following style in the `prompt_theme_setup` function. +following style in the `prompt_name_setup` function. # %v - ruby version. zstyle ':prezto:module:ruby:info:version' format 'version:%v' Then add `$ruby_info[version]` to `$PROMPT` or `$RPROMPT` and call -`ruby-info` in the `prompt_theme_preexec` hook function. +`ruby-info` in the `prompt_name_preexec` hook function. Authors -------