1
0
mirror of https://github.com/artizirk/dotfiles.git synced 2024-11-25 17:20:58 +02:00

Force cal command to start week with monday

This commit is contained in:
Arti Zirk 2023-06-29 11:01:01 +03:00
parent 625dae5ac2
commit d654de9dbe

4
.zshrc
View File

@ -244,9 +244,9 @@ setopt INC_APPEND_HISTORY_TIME
function cal { function cal {
local CALENDAR=$(which -p cal) local CALENDAR=$(which -p cal)
if [[ $# -eq 0 ]]; then if [[ $# -eq 0 ]]; then
$CALENDAR -w3 $CALENDAR -m -w3
else else
$CALENDAR "$@" $CALENDAR -m "$@"
fi fi
} }