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
@kundancool
kundancool / zsh-timestamp.md
Created February 18, 2022 12:54 — forked from zulhfreelancer/zsh-timestamp.md
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
#!/bin/bash
# ================================
# 🛡️ MySQL Backup & Restore Tool 🛡️
# -------------------------------
# - Configurable via CLI or file 📄
# - Upload/download to/from S3 ☁️
# - Super cool messages 🚀
# ================================