From db9a2866b3114ddbf9e12e41d9d707c6ac06db4c Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Mon, 1 Jan 2024 15:24:04 +0200 Subject: [PATCH] {bash,zsh}rc: add alias aoedate for Anywhere on Earth time --- rc/bashrc | 3 +++ rc/zshrc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/rc/bashrc b/rc/bashrc index d763a701..658ae79c 100755 --- a/rc/bashrc +++ b/rc/bashrc @@ -545,6 +545,9 @@ fi # More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file" +# Anywhere on Earth date, https://en.m.wikipedia.org/wiki/Anywhere_on_Earth +alias aoedate="TZ=Etc/GMT+12 date" + # Allow custom aliases to be put in .aliases or .bash_aliases . # .aliases diff --git a/rc/zshrc b/rc/zshrc index 20276fc0..328247ad 100755 --- a/rc/zshrc +++ b/rc/zshrc @@ -526,6 +526,9 @@ fi # More simple SSH file signing, ~/.ssh/signingkey.pub should be a symlink alias ssh-sign-file="ssh-keygen -Y sign -f ~/.ssh/signingkey.pub -n file" +# Anywhere on Earth date, https://en.m.wikipedia.org/wiki/Anywhere_on_Earth +alias aoedate="TZ=Etc/GMT+12 date" + # Allow custom aliases to be put in .aliases or .zsh_aliases . # .aliases