dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 3fd4cb2db7dfb92f34c3ddc7853881f2bb079f68
parent 5094f89de1cae3b757c544b8d8f93ad0a91304e6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  8 Feb 2021 12:38:54 +0100

plumb: pull calendar before adding new events

Diffstat:
M.local/bin/plumb | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.local/bin/plumb b/.local/bin/plumb @@ -86,7 +86,7 @@ handle_calendar_invite() { read -r case "$REPLY" in Y|y|YES|Yes|yes|myes) - rsync -a adamsgaard.dk:~/.calendar/calendar "$calendar" + cd "$(dirname "$calendar")" && git pull month="$(printf '%s' "$starttime" | \ sed 's/.*-\([0-1][0-9]\)-[0-3][0-9].*/\1/')" day="$(printf '%s' "$starttime" | \