mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
bashrc & zshrc: fix isodate
now it's `date -Is`, the old method is available by adding a to the end.
This commit is contained in:
parent
6c06e01f0f
commit
098d3ebb49
@ -534,8 +534,10 @@ alias reset-xfce4="rm -rf ~/.config/xfce4"
|
||||
alias reset-matepanel="mate-panel --reset"
|
||||
|
||||
# Show date in ISO 8601 format
|
||||
alias isodate='date "+%Y-%m-%d %H:%M:%S%z"'
|
||||
alias isodateu='date -u "+%Y-%m-%d %H:%M:%S%z"'
|
||||
alias isodate='date -Is'
|
||||
alias isodateu='date -uIs'
|
||||
alias isodatea='date "+%Y-%m-%dT%H:%M:%S%z"'
|
||||
alias isodateua='date -u "+%Y-%m-%dT%H:%M:%S%z"'
|
||||
|
||||
# Show information on PEM file.
|
||||
alias peminfo="openssl x509 -text -in"
|
||||
|
6
rc/zshrc
6
rc/zshrc
@ -509,8 +509,10 @@ alias reset-xfce4="rm -rf ~/.config/xfce4"
|
||||
alias reset-matepanel="mate-panel --reset"
|
||||
|
||||
# Show date in ISO 8601 format
|
||||
alias isodate='date "+%Y-%m-%d %H:%M:%S%z"'
|
||||
alias isodateu='date -u "+%Y-%m-%d %H:%M:%S%z"'
|
||||
alias isodate='date -Is'
|
||||
alias isodateu='date -uIs'
|
||||
alias isodatea='date "+%Y-%m-%dT%H:%M:%S%z"'
|
||||
alias isodateua='date -u "+%Y-%m-%dT%H:%M:%S%z"'
|
||||
|
||||
# Show information on PEM file.
|
||||
alias peminfo="openssl x509 -text -in"
|
||||
|
Loading…
Reference in New Issue
Block a user