mirror of
https://github.com/dcarrillo/prezto.git
synced 2025-07-01 20:59:26 +00:00
Fix issue with several themes where errors occur
if the git module is not loaded.
This commit is contained in:
committed by
Sorin Ionescu
parent
0148ee6a4d
commit
c171621747
@ -114,7 +114,7 @@ function prompt_cloud_setup {
|
||||
'rprompt' ''
|
||||
|
||||
# Define prompts.
|
||||
PROMPT='%B%F{$primary_color}${prefix}%f%b %B%F{$secondary_color}%c%f%b $git_info[prompt] '
|
||||
PROMPT='%B%F{$primary_color}${prefix}%f%b %B%F{$secondary_color}%c%f%b ${git_info:+${(e)git_info[prompt]}} '
|
||||
RPROMPT=''
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user