diff options
author | 2024-03-25 16:43:09 +0530 | |
---|---|---|
committer | 2024-03-25 16:43:09 +0530 | |
commit | a62114c91f2070c8c8453d117f3d81dc113e41ff (patch) | |
tree | f266e87af29a08c01f82bc32dd7d463d8ec4441a /zsh/oh-my-zsh/plugins/isodate | |
parent | af120ab348f2e1a5a39dec035ed9dcf84189a64e (diff) | |
download | dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.gz dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.tar.bz2 dotfiles-a62114c91f2070c8c8453d117f3d81dc113e41ff.zip |
dotfile update
Diffstat (limited to 'zsh/oh-my-zsh/plugins/isodate')
-rw-r--r-- | zsh/oh-my-zsh/plugins/isodate/README.md | 22 | ||||
-rw-r--r-- | zsh/oh-my-zsh/plugins/isodate/isodate.plugin.zsh | 7 |
2 files changed, 0 insertions, 29 deletions
diff --git a/zsh/oh-my-zsh/plugins/isodate/README.md b/zsh/oh-my-zsh/plugins/isodate/README.md deleted file mode 100644 index 1ec75b2..0000000 --- a/zsh/oh-my-zsh/plugins/isodate/README.md +++ /dev/null @@ -1,22 +0,0 @@ -# Isodate plugin - -**Maintainer:** [@Frani](https://github.com/frani) - -This plugin adds completion for the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601), -as well as some aliases for common Date commands. - -To use it, add `isodate` to the plugins array in your zshrc file: - -```zsh -plugins=(... isodate) -``` - -## Aliases - -| Alias | Command | Description | -|---------------|--------------------------------------|----------------------------------------------------------------------------| -| isodate | `date +%Y-%m-%dT%H:%M:%S%z` | Display the current date with UTC offset and ISO 8601-2 extended format | -| isodate_utc | `date -u +%Y-%m-%dT%H:%M:%SZ` | Display the current date in UTC and ISO 8601-2 extended format | -| isodate_basic | `date -u +%Y%m%dT%H%M%SZ` | Display the current date in UTC and ISO 8601 basic format | -| unixstamp | `date +%s` | Display the current date as a Unix timestamp (seconds since the Unix epoch)| -| date_locale | `date +"%c"` | Display the current date using the default locale's format | diff --git a/zsh/oh-my-zsh/plugins/isodate/isodate.plugin.zsh b/zsh/oh-my-zsh/plugins/isodate/isodate.plugin.zsh deleted file mode 100644 index 1a827e7..0000000 --- a/zsh/oh-my-zsh/plugins/isodate/isodate.plugin.zsh +++ /dev/null @@ -1,7 +0,0 @@ -# work with date ISO 8601 easy - -alias isodate="date +%Y-%m-%dT%H:%M:%S%z" -alias isodate_utc="date -u +%Y-%m-%dT%H:%M:%SZ" -alias isodate_basic="date -u +%Y%m%dT%H%M%SZ" -alias unixstamp="date +%s" -alias date_locale="date +"%c"" |