1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh default_calendar="personal" data_dir="${HOME}/docs/calendar" for calendar; do true; done args=$(echo ${@} | rev | cut -d " " -f 2- | rev) exec calcurse -C "${HOME}/.config/calcurse" \ -D "${data_dir}/${last:-${default_calendar}}" \ ${args}