Skip to content

Strange Behavior with Prezto themes #539

Open
@Varkal

Description

@Varkal

Hi,

I follow your example on the home page to setup Prezto.

source /usr/local/share/antigen/antigen.zsh
antigen use prezto
antigen bundle sorin-ionescu/prezto modules/helper  # required for Git module
antigen bundle sorin-ionescu/prezto modules/editor
antigen bundle sorin-ionescu/prezto modules/git
antigen bundle sorin-ionescu/prezto modules/prompt
antigen theme sorin

But instead of got the wanted prompt, I got :

$fg[cyan]~$(git_prompt_info) $fg_bold[green]❯$reset_color                      ${return_status}$(git_prompt_status)$reset_color

The colors and functions aren't interpreted.
I search for similar issues in the repository and found the #108, but this doesn't help so much
If i load a oh-my-zsh theme, everything seems ok.

I try to use the prezto way to choose my theme :

zstyle ':prezto:module:prompt' theme 'name'

This works better but isn't a success : I got the >>> in the right colors, but without the pwd and with an error message on each cd :

prompt_sorin_precmd:5: permission denied: promptpwd

Antigen version is 2.1.0 (Installed with brew)
ZSH version is 5.3.1
OS: macOS Sierra
Terminal : iTerm2 Build 3.0.15 (but have the same issue with original terminal)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions