my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
1.2 KiB

3 years ago
  1. # Isodate plugin
  2. **Maintainer:** [@Frani](https://github.com/frani)
  3. This plugin adds completion for the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601),
  4. as well as some aliases for common Date commands.
  5. To use it, add `isodate` to the plugins array in your zshrc file:
  6. ```zsh
  7. plugins=(... isodate)
  8. ```
  9. ## Aliases
  10. | Alias | Command | Description |
  11. |---------------|--------------------------------------|----------------------------------------------------------------------------|
  12. | isodate | `date +%Y-%m-%dT%H:%M:%S%z` | Display the current date with UTC offset and ISO 8601-2 extended format |
  13. | isodate_utc | `date -u +%Y-%m-%dT%H:%M:%SZ` | Display the current date in UTC and ISO 8601-2 extended format |
  14. | isodate_basic | `date -u +%Y%m%dT%H%M%SZ` | Display the current date in UTC and ISO 8601 basic format |
  15. | unixstamp | `date +%s` | Display the current date as a Unix timestamp (seconds since the Unix epoch)|
  16. | date_locale | `date +"%c"` | Display the current date using the default locale's format |