You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
331 B
13 lines
331 B
1 year ago
|
username="%F{40}%n%f"
|
||
|
host="%U%F{40}%m%f%u"
|
||
|
directory="%F{39}%~%f"
|
||
|
error_marker="(%0(?.%F{46}✓%f.%F{124}✗%f))"
|
||
|
|
||
|
export PROMPT="${username}@${host}:${directory} ${error_marker} "
|
||
|
|
||
|
|
||
|
#https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html
|
||
|
#https://dev.to/voracious/a-guide-to-customizing-the-zsh-shell-prompt-2an6
|
||
|
#✓
|
||
|
#✗
|