Copied bash scripts and fixed shebangs

This commit is contained in:
Wryn Wagner
2019-12-02 10:16:05 -07:00
parent f5b9664b6b
commit 67e48cb7bc
12 changed files with 443 additions and 0 deletions

15
zsh/time Normal file
View File

@ -0,0 +1,15 @@
#!/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;
}