dotfiles/zsh_prompt

10 lines
187 B
Plaintext

username="%F{40}%n%f"
host="%F{40}%m%f"
directory="%F{39}%~%f"
error_marker="%0(?.%F{46}✓%f.%F{124}✗%f)"
export PROMPT="${username}@${host}:${directory} ${error_marker} "
#✓
#✗