lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
990 stars 94 forks source link

Read from multiple apts files #484

Open avidseeker opened 7 months ago

avidseeker commented 7 months ago

Add the ability to read from multiple apts files. E.g: holidays.txt, school.txt, work.txt, apts.txt.

Currently:

$ calcurse -c apts.txt -c apts2.txt

Does not work.

avidseeker commented 3 months ago

Workaround in zsh:

$ calcurse -c =(cat "$XDG_DATA_HOME"/calcurse/apts*)

With the obvious drawback of losing changes on save. Note that bash process substitution calcurse -c <(cat apts*) does not work because calcurse seems to lseek the apts file.