Created
May 23, 2013 05:37
-
-
Save narusemotoki/5632951 to your computer and use it in GitHub Desktop.
zshでタイムスタンプを表示するコマンド。.zshrcに追記して設定を読みなおしてから「$ timestamp」
This file contains hidden or 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
timestamp() { | |
printf '%ld\n' $(expr `date +%s%N` / 1000000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment