diff --git a/themes/half-life.zsh-theme b/themes/half-life.zsh-theme index a3c50570..990a7f1b 100644 --- a/themes/half-life.zsh-theme +++ b/themes/half-life.zsh-theme @@ -94,3 +94,6 @@ function steeef_precmd { add-zsh-hook precmd steeef_precmd PROMPT=$'%{$purple%}%n%{$reset_color%} in %{$limegreen%}%~%{$reset_color%}$(ruby_prompt_info " with%{$fg[red]%} " v g "%{$reset_color%}")$vcs_info_msg_0_%{$orange%} λ%{$reset_color%} ' + +local return_code="%(?..%{$fg_bold[red]%} %? Λ%{$reset_color%})" +RPS1="${return_code}"