diff options
author | Josh Rahm <rahm@google.com> | 2021-11-15 10:31:24 -0700 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2021-11-15 10:31:24 -0700 |
commit | a6213bc74c817360d4947fa9d94d97431d5b258c (patch) | |
tree | 349df3c400c7992c28a448f397f0174f38116f77 /00-prompt.zsh | |
parent | eef56cd6f76244cb7ab54a45ac1c60aa3e658f12 (diff) | |
download | zshrcd-a6213bc74c817360d4947fa9d94d97431d5b258c.tar.gz zshrcd-a6213bc74c817360d4947fa9d94d97431d5b258c.tar.bz2 zshrcd-a6213bc74c817360d4947fa9d94d97431d5b258c.zip |
Change rahm1 prompt to use the simple_prompt
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 { |