Skip to content

Commit

Permalink
Fix the name of the theme setup function in READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
RIT80 authored and RIT80 committed Oct 2, 2012
1 parent f023654 commit ca9f0be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down
4 changes: 2 additions & 2 deletions modules/ruby/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down

0 comments on commit ca9f0be

Please sign in to comment.