Skip to content

Instantly share code, notes, and snippets.

View kundancool's full-sized avatar
💭
I may be slow to respond.

Kundan kundancool

💭
I may be slow to respond.
View GitHub Profile
@zulhfreelancer
zulhfreelancer / zsh-timestamp.md
Last active September 12, 2024 15:41
How to add timestamp on right hand side of ZSH / iTerm2 terminal prompt?

Add the following snippet at the bottom of ~/.zshrc file.

Option 1 - Just time

RPROMPT='[%D{%L:%M:%S}] '$RPROMPT