Created
June 8, 2022 12:09
-
-
Save CodeBrauer/730791924ac65bbd781238d23616486a to your computer and use it in GitHub Desktop.
Show Timestamp in each line for ZSH. Use only one which suits the best for you
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#left side with date | |
PROMPT='%{$fg[yellow]%}[%D %*] '$PROMPT | |
#left side without date | |
PROMPT='%{$fg[yellow]%}[%*] '$PROMPT | |
#right side with date | |
RPROMPT="[%D %*]" | |
#right side without date | |
RPROMPT="[%*]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment