From a0ade716a2c77e78e44c31f8c9da60d351d44e74 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 24 Apr 2014 20:20:19 -0700 Subject: [PATCH] update PS2 to show reason for being delayed. --- dotfiles/lib/zsh/prompt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/zsh/prompt.sh b/dotfiles/lib/zsh/prompt.sh index 6955a427..407709d9 100644 --- a/dotfiles/lib/zsh/prompt.sh +++ b/dotfiles/lib/zsh/prompt.sh @@ -61,7 +61,7 @@ function separator() { PROMPT='╭─% $(print_with_color "%n" "$USERNAME_COLOR") $(separator "at") $(print_with_color "`hostname -s`" "$HOSTNAME_COLOR") $(separator "in") $(print_with_color "`current_directory`" "$terminfo[bold]$CURRENT_DIRECTORY_COLOR")$(git_prompt_info)$(sandbox_prompt) ╰─± ' -PS2='' +PS2='(%_) ' RPROMPT='Last Exit Code: $?' prompt_use_custom_colors