this is all a travesty but is that not simply the nature of dotfiles

This commit is contained in:
Shoofle 2023-06-03 17:08:19 -04:00
parent 1db67939b4
commit 6e59344dc6
3 changed files with 12 additions and 9 deletions

12
prompt_zsh Normal file
View File

@ -0,0 +1,12 @@
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
#✓
#✗

View File

@ -1,9 +0,0 @@
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} "
#✓
#✗