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

8 lines
360 B
Bash

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"