Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

timestamp zsh terminal

# ~/.zshrc
RPROMPT='[%D{%L:%M:%S}] '$RPROMPT # time
RPROMPT="[%D{%f/%m/%y} | %D{%L:%M:%S}]" # date & time
Source by gist.github.com #
 
PREVIOUS NEXT
Tagged: #timestamp #zsh #terminal
ADD COMMENT
Topic
Name
9+9 =