From 99a45597f3f2dba93dfee7b83c43c9c466d9d42f Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 16 Sep 2021 19:42:11 -0600 Subject: [PATCH] no more time --- zsh/alias | 4 +++- zsh/time | 15 --------------- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 zsh/time diff --git a/zsh/alias b/zsh/alias index ddbaf25..3b78572 100644 --- a/zsh/alias +++ b/zsh/alias @@ -11,7 +11,9 @@ alias bp='bpython'; alias pdo='pwd | xclip'; # [p]aste current [d]irectory [o]n clipboard alias cdo='cd $(xclip -o)'; # [cd] to directory [o]n clipboard -alias fix='vim $(git diff --name-only | uniq) -p'; +alias readable-date='date +"%A %B %d, %Y"' + +alias fix='vim $(git diff --name-only | uniq) -p' # --------------------------------------------------------------------- alias erg='EDIT_RIP_GREP_FILE_MATCHES'; diff --git a/zsh/time b/zsh/time deleted file mode 100644 index 62d1ce6..0000000 --- a/zsh/time +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/zsh -alias datereadable='date +"%A %B %d, %Y"' - -function saydate() { - local todaysdate="$(date +'%A %B %d, %Y')" - local currenthour="$(date +'%H')" - local currentminute="$(date +'%M')" - [[ $currentminute -lt 10 ]] && currentminute="O $currentminute"; - - say "it's currently $currenthour $currentminute on $todaysdate"; -} - -function clock() { - watch -c -t -n1 "date +'%H : %M : %S' | figlet" | lolcat; -}