configfiles/zsh/.zsh/02-prompt.zsh

9 lines
360 B
Bash
Raw Normal View History

2015-10-08 14:31:40 +02:00
autoload -U colors && colors
PROMPT="%{$fg[red]%}%n%{$fg[yellow]%}@%{$fg[green]%}%M%{$fg[yellow]%} > %{$reset_color%}"
RPROMPT="%{$fg[yellow]%}%~%{$reset_color%}"
# Enable syntax hightlighting if available
[ -f "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ] && \
source "/usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"