commit ec522e56e5c358b7155d49d754e7df30c4002d6c
parent 89943d7c16b24f5f1139f3605f07871b72ab1d48
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Sat, 13 Feb 2021 15:15:47 -0800
Use "hardcoded" strftime format string in mtime shell function
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/shell/.config/shell/aliases b/modules/shell/.config/shell/aliases
@@ -4,7 +4,7 @@ ap() { apropos $* ;}
date() { command date ${*:-'+%F %T %z'} ;}
grep() { egrep $* ;}
man() { command man $* ;}
-mtime() { stat -t'$DATETIME_FMT' -f%Sm%t%N $* ;}
+mtime() { stat -t '%F %T' -f%Sm%t%N $* ;}
pkill() { command pkill -x $* ;}
sed() { command sed -E $* ;}