no more time
This commit is contained in:
parent
8cd69c0327
commit
99a45597f3
@ -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';
|
||||
|
15
zsh/time
15
zsh/time
@ -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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user