diff options
| author | ymlair <w_w_wcom@163.com> | 2025-09-02 02:37:37 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-01 11:37:37 -0700 |
| commit | 9d00a004b21791557c7d5cd1070b21054125b149 (patch) | |
| tree | 57cd53214f10696ea1ec84d1b005e10bdc130b79 /plugins/tt/README.MD | |
| parent | 28ac0e95daa52e8d784b0560af72c58515e7f7de (diff) | |
| download | zsh-9d00a004b21791557c7d5cd1070b21054125b149.tar.gz zsh-9d00a004b21791557c7d5cd1070b21054125b149.tar.bz2 zsh-9d00a004b21791557c7d5cd1070b21054125b149.zip | |
feat(tt): add plugin tt (#8273)
Diffstat (limited to 'plugins/tt/README.MD')
| -rw-r--r-- | plugins/tt/README.MD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/plugins/tt/README.MD b/plugins/tt/README.MD new file mode 100644 index 000000000..6246488be --- /dev/null +++ b/plugins/tt/README.MD @@ -0,0 +1,26 @@ +# TT + +This plugin provides mutual conversion of timestamp and date. + +To use it add tt to the plugins array in your zshrc file. + +```bash +plugins=(... tt) +``` +# Example + +print timestamp for "2019-10-16" +```bash +tt 2019-10-16 +``` + +print timestamp for "2019-10-16 18:41:00" +```bash +tt "2019-10-16 18:41:00" +``` + +print date for "1571222561" +```bash +tt 1571222561 +``` +echo 2019-10-16 18:42:41 |
