Update 2024-01-30 21:10 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-01-30 21:10:51 +01:00
parent 5e5438f9b5
commit 96029351a1

View File

@ -7,7 +7,7 @@
alias rem="clear; remind -c+cu4 -wt ~/.reminders" alias rem="clear; remind -c+cu4 -wt ~/.reminders"
alias remy="clear; remind -cu12 -wt ~/.reminders | less -r" alias remy="clear; remind -cu12 -wt ~/.reminders | less -r"
rems() { rems() {
echo "Reminders for $(date +%Y/%m/%d) (today)" #echo "Reminders for $(date +%Y/%m/%d) (today)"
remind ~/.reminders remind ~/.reminders
echo echo
echo "Next 10 Reminders:" echo "Next 10 Reminders:"
@ -40,3 +40,13 @@ rem-birthdays() {(
rem-sync rem-sync
)} )}
sync-ical2rem() {
# XXX can haz this in nice?
find ~/.isync -name "*.ics" -exec cat {} + \
| ical2rem --no-todos \
| fgrep -v "REM MSG" \
| sed 's,\\n, ,g' \
| tr -d '\' \
| sed 's/ / /g' \
> .reminders/import.rem
}