20221030
some writing prompts:
if [ -n "$ZSH_NAME" ]; then
export PROMPT=$'%F{094}┌──(%B%F{%(#. red.blue)}%n@%m%b%F{094})[%B% F{245}%D{%H:%M:%S}%F{094}][%B% F{250}%(6~.%-1~/…/%4~.%5~)%b% F{094}]\n└─%B%(#.%F{red}#.%F{ blue}$)%b%F{reset} '
else
export PS1='[\u@\h \#%][\t][\w]: '
fi
export PROMPT=$'%F{094}┌──(%B%F{%(#.
else
export PS1='[\u@\h \#%][\t][\w]: '
fi
---
if [ -n "$ZSH_NAME" ]; then
export PROMPT=$'%F{062}┌──(%B%F{%(#. red.blue)}%n@%m%b%F{062})[%B% F{245}%D{%H:%M:%S}%F{062}][%B% F{250}%(6~.%-1~/…/%4~.%5~)%b% F{062}]\n└─%B%(#.%F{red}#.%F{ blue}$)%b%F{reset} '
# date/time on the right side
# export RPROMPT="%F{111}%K{000}[%D{%f/ %m/%y}|%@]"
else
export PS1='[\u@\h \#%][\t][\w]: '
fi
export PROMPT=$'%F{062}┌──(%B%F{%(#.
# date/time on the right side
# export RPROMPT="%F{111}%K{000}[%D{%f/
else
export PS1='[\u@\h \#%][\t][\w]: '
fi