diff --git a/.bin/ksh-update-completions b/.bin/ksh-update-completions index 0faa601..1ffdab0 100755 --- a/.bin/ksh-update-completions +++ b/.bin/ksh-update-completions @@ -78,8 +78,9 @@ show-indexed show-list show-prepare-results show-prepare-test-results \ show-required-by show-run-depends show-size subpackage test test-depends \ test-depends-list test-dir-depends unlock update update-patches \ update-plist update-update-or-install update-update-or-install-all \ -verbose-show wantlib-args" +verbose-show wantlib-args MODGO_VERSION=latest" add "set -A complete_make_1 -- " "$ARGS" +add "set -A complete_make_2 -- " "modgo-gen-modules" if [ -f /usr/sbin/rcctl ] then diff --git a/.bin/pim-sync-all b/.bin/pim-sync-all new file mode 100755 index 0000000..2bc6ecf --- /dev/null +++ b/.bin/pim-sync-all @@ -0,0 +1,32 @@ +#/bin/sh -xe + +# snapshot +cd /home/sdk/.reminders +git add * +git commit -m "Update $(date +"%Y-%m-%d %H:%M:%S")" || true + +# copy uugrn calendard to dalek +scp -q vorstand@vorstand.uugrn.org:private/Kalender/uugrn.rem \ + sdk@home.codevoid.de:.reminders/uugrn.rem + +# copy all calendars from dalek to local +scp -q sdk@home.codevoid.de:.reminders/\*.rem \ + /home/sdk/.reminders/ + +# download vcal/vcard from icloud / radical +vdirsyncer sync + +# create import.rem from ical events (XXX fix this mess) +find ~/.isync -name "*.ics" -exec cat {} + \ + | ical2rem --no-todos \ + | fgrep -v "REM MSG" \ + | sed 's,\\n, ,g' \ + | tr -d '\' \ + | sed 's/ / /g' \ + > /home/sdk/.reminders/import.rem + +# sync email to offline +mbsync -a + +# index email +mu index