1
0
Fork 0

add exit code to right prompt

This commit is contained in:
Luca Bilke 2022-08-05 08:57:53 +02:00
parent d2f37ca42b
commit 283e344c7d
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Enable colors and change prompt:
autoload -U colors && colors # Load colors
PS1="%B%F{blue}%n%F{cyan}@%F{blue}%m %F{magenta}[%f%3~%F{magenta}] %(?.%F{green}.%F{red})»%f%b "
RPS1="%(?..%F{red}%?)"
stty stop undef # Disable ctrl-s to freeze terminal.
setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS HIST_VERIFY BANG_HIST interactive_comments autocd