diff options
Diffstat (limited to '00-prompt.zsh')
-rw-r--r-- | 00-prompt.zsh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/00-prompt.zsh b/00-prompt.zsh index b27691f..cfeba64 100644 --- a/00-prompt.zsh +++ b/00-prompt.zsh @@ -20,6 +20,8 @@ function distro_logo { esac } +DISTRO_LOGO=$(distro_logo) + function simple_prompt { ec=$? preamble="" @@ -35,7 +37,7 @@ function simple_prompt { host="${1}%m${default}" directory="${2}%2~${default}" - echo " ${default}$(distro_logo) ${code} ${name}${host} ${directory} · %{\x1b[00m%}" + echo " ${default}${DISTRO_LOGO} ${code} ${name}${host} ${directory} · %{\x1b[00m%}" } function simple_rprompt { |