zsh: Add a human-readable timestamp alias
This commit is contained in:
parent
4422c3922c
commit
5f171e7a02
1 changed files with 1 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ alias g='git'
|
||||||
alias rg='rg -S'
|
alias rg='rg -S'
|
||||||
|
|
||||||
alias timestamp='date "+%Y-%m-%d_%H-%M-%S"'
|
alias timestamp='date "+%Y-%m-%d_%H-%M-%S"'
|
||||||
|
alias humantime='date "+%Y-%m-%d %H:%M"'
|
||||||
|
|
||||||
screenshot() {
|
screenshot() {
|
||||||
local ts="$(timestamp)"
|
local ts="$(timestamp)"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue