commit 527a23f5f359daef8c2c738dd3d4f2fdaaf22b5a
parent 5df08f95a707c424b0a81d2a272c5da5cf991cc5
Author: Dash Eclipse <dashezup@disroot.org>
Date: Mon, 21 Mar 2022 21:23:53 +0000
docs: update .zshrc.local
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.zshrc.local b/.zshrc.local
@@ -177,10 +177,11 @@ logpaste() {
}
# gnuplot for lists of date in format of $(date +%F)
-# sed -n 's/^: //p' ~/.zsh_history | cut -d: -f1 | xargs -L1 -I{} date +%F -d @{} | showplot
+# sed -n 's/^: //p' ~/.zsh_history | cut -d: -f1 | xargs -I{} date +%F -d @{} | showplot
# xbps-query -m | xargs -L1 xbps-query -p install-date | awk '{print $1}' | showplot
# find ~/Downloads -type f 2>/dev/null | xargs -I{} stat -c %y '{}' 2>/dev/null | showplot
# tail -n+2 dump.csv | awk -F';' '{print $NF}' | showplot -c
+# git log --oneline --pretty='%cs' | showplot
showplot() {
zmodload zsh/datetime
local DATA=("${(@f)$(sort /dev/stdin)}")