From 6472f64f360095b948954bcc2543d095f46e9a21 Mon Sep 17 00:00:00 2001 From: "RingOfStorms (Joshua Bell)" Date: Thu, 23 Oct 2025 11:56:39 -0500 Subject: [PATCH] add time_short/compact alias functions --- flakes/common/nix_modules/essentials/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flakes/common/nix_modules/essentials/default.nix b/flakes/common/nix_modules/essentials/default.nix index e6f2ce0..70d4de5 100644 --- a/flakes/common/nix_modules/essentials/default.nix +++ b/flakes/common/nix_modules/essentials/default.nix @@ -38,6 +38,8 @@ with lib; # general unix date_compact = "date +'%Y%m%d'"; date_short = "date +'%Y-%m-%d'"; + time_compact = "date +'%Y%m%d%H%M%'"; + time_short = "date +'%Y-%m-%dT%H:%M:%S'"; ls = "ls --color -Gah"; ll = "ls --color -Galhtr"; lss = "du --max-depth=0 -h {.,}* 2>/dev/null | sort -hr";