zsh: fix hostname detection
This commit is contained in:
parent
be8c07f0d6
commit
1af09d4229
@ -67,7 +67,7 @@ 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} ")'
|
||||
PROMPT='$(prmt --shell zsh --code $? "{env:yellow.bold:USER} in {env:green.bold:HOST} 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user