Last active
February 7, 2023 16:25
-
-
Save keil0/057a7905cead40fb866cf5e075b2ee96 to your computer and use it in GitHub Desktop.
Add timestamp to robbyrussell ZSH THEME
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
# Add timestamp to PROMPT | |
local ret_status="%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )" | |
PROMPT='${ret_status} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)' | |
RPROMPT="[%D{%y/%m/%f}|%*]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment