diff --git a/dot_bin/prmt b/dot_bin/prmt new file mode 100755 index 0000000..31c235d Binary files /dev/null and b/dot_bin/prmt differ diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index dcad707..a98ed57 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -60,8 +60,11 @@ source ~/.zsh/completion/podman.zsh {{- end }} eval "$(zoxide init zsh)" -eval "$(starship init zsh)" eval "$(sheldon source)" +#eval "$(starship init zsh)" + +setopt PROMPT_SUBST +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} ")' # Profiling #unsetopt XTRACE