commit 01917c7e1d5da7546ce09e6466e36a1d7b3c1cab
parent fe6edb35e3078b0f3387caafe89f5c625345a691
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Wed, 3 Feb 2021 08:07:05 +0100
calendar.sh: use portable cal(1) options, show week numbers and start on monday
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/calendar.sh b/.local/bin/calendar.sh
@@ -3,7 +3,7 @@ set -e
cd "${HOME}/.calendar"
git pull
if test "$TMUX"; then
- tmux split-window -l 9 "cal -3; sh" \; select-pane -U
+ tmux split-window -l 9 "cal -wm; sh" \; select-pane -U
fi
$EDITOR "${HOME}/.calendar/calendar"
git commit -a -m 'auto commit'