diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index a98ed57..1812c39 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -64,7 +64,11 @@ eval "$(sheldon source)" #eval "$(starship init zsh)" setopt PROMPT_SUBST +{{- if eq .chezmoi.hostname "taupo" }} PROMPT='$(prmt --shell zsh --code $? "{path:cyan.bold} {git:purple.bold} {python:yellow.bold::🐍}{rust:red.bold:s:🦀}{node:green.bold:s:⬢}\nat {time:yellow.bold:24hs} {ok:green.bold}{fail:red.bold:code} ")' +{{- else }} +PROMPT='$(prmt --shell zsh --code $? "{env:yellow.bold:USER} in {env:green.bold:HOSTNAME} in {path:cyan.bold} {git:purple.bold} {python:yellow.bold::🐍}{rust:red.bold:s:🦀}{node:green.bold:s:⬢}\nat {time:yellow.bold:24hs} {ok:green.bold}{fail:red.bold:code} ")' +{{- end }} # Profiling #unsetopt XTRACE