1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 05:49:26 +00:00

Fix the name of the theme setup function in READMEs

This commit is contained in:
Sorin Ionescu
2012-10-02 12:53:59 -04:00
parent be300dbd80
commit b36d98e431
2 changed files with 4 additions and 4 deletions

View File

@ -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
-------