Add datetime alias.

This commit is contained in:
Sebastian Bugge 2024-01-22 15:02:57 +01:00
parent 8fd23cc72a
commit 2c8336d5f0
Signed by: kaholaz
GPG key ID: 2EFFEDEE03519691

View file

@ -31,6 +31,8 @@ alias mutt=neomutt
# trash > rm # trash > rm
alias rm=trash alias rm=trash
alias dt="date '+%Y-%m-%dT%T%z'"
# Extract any archive # Extract any archive
extract () { extract () {
if [ -f $1 ] ; then if [ -f $1 ] ; then