Tips for Using Alas

Alas is usually executed with the same command every day. For example:

alas --insert-days 3 \
  --remove-empty-days \
  --skip-backup \
  --schedule-tasks \
  --schedule-contacts contacts \

To avoid typing the long command, you can create an alias for your shell or a small script and run that instead.

Here’s an example script that runs Alas on a plan file, runs Tmux and opens the plan file in Vim:

#!/usr/bin/env bash

cd ~/wiki
alas --insert-days 3 --remove-empty-days --skip-backup --schedule-tasks --schedule-contacts contacts
tmux new-session -d 'vim'
tmux -2 attach-session -d